Class SKCanvas
Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll
public sealed class SKCanvas
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
TotalMatrix
public SKMatrix TotalMatrix { get; }
Property Value
TotalMatrix44
public SKMatrix44 TotalMatrix44 { get; }
Property Value
Methods
Clear(SKColor)
public void Clear(SKColor color)
Parameters
color
SKColor
ClipPath(SKPath, SKClipOperation, bool)
public void ClipPath(SKPath path, SKClipOperation operation, bool doAntialias)
Parameters
path
SKPath
operation
SKClipOperation
doAntialias
bool
ClipRect(SKRect)
public void ClipRect(SKRect rect)
Parameters
rect
SKRect
DrawCircle(float, float, float, SKPaint)
public void DrawCircle(float cx, float cy, float radius, SKPaint paint)
Parameters
cx
float
cy
float
radius
float
paint
SKPaint
DrawCircle(SKPoint, float, SKPaint)
public void DrawCircle(SKPoint center, float radius, SKPaint paint)
Parameters
center
SKPoint
radius
float
paint
SKPaint
DrawImage(SKImage, float, float)
public void DrawImage(SKImage image, float x, float y)
Parameters
image
SKImage
x
float
y
float
DrawImage(SKImage, SKRect)
public void DrawImage(SKImage image, SKRect destRect)
Parameters
image
SKImage
destRect
SKRect
DrawOval(SKRect, SKPaint)
public void DrawOval(SKRect rect, SKPaint paint)
Parameters
rect
SKRect
paint
SKPaint
DrawPath(SKPath, SKPaint)
public void DrawPath(SKPath path, SKPaint paint)
Parameters
path
SKPath
paint
SKPaint
DrawPicture(SKPicture)
public void DrawPicture(SKPicture picture)
Parameters
picture
SKPicture
DrawPicture(SKPicture, SKMatrix)
public void DrawPicture(SKPicture picture, SKMatrix matrix)
Parameters
picture
SKPicture
matrix
SKMatrix
DrawRect(SKRect, SKPaint)
public void DrawRect(SKRect rect, SKPaint paint)
Parameters
rect
SKRect
paint
SKPaint
DrawRoundRect(SKRect, float, float, SKPaint)
public void DrawRoundRect(SKRect rect, float rx, float ry, SKPaint paint)
Parameters
rect
SKRect
rx
float
ry
float
paint
SKPaint
DrawText(string?, float, float, SKPaint)
public void DrawText(string? text, float x, float y, SKPaint paint)
Parameters
text
string?
x
float
y
float
paint
SKPaint
DrawText(SKTextBlob, float, float, SKPaint)
public void DrawText(SKTextBlob textBlob, float x, float y, SKPaint paint)
Parameters
textBlob
SKTextBlob
x
float
y
float
paint
SKPaint
Flush()
public void Flush()
QuickReject(SKRect)
public bool QuickReject(SKRect rect)
Parameters
rect
SKRect
Returns
Reset()
public void Reset()
ResetMatrix()
public void ResetMatrix()
Restore()
public void Restore()
RotateDegrees(float)
public void RotateDegrees(float degrees)
Parameters
degrees
float
RotateDegrees(float, float, float)
public void RotateDegrees(float degrees, float px, float py)
Parameters
degrees
float
px
float
py
float
Save()
public void Save()
SaveLayer()
public void SaveLayer()
SaveLayer(SKPaint?)
public void SaveLayer(SKPaint? paint)
Parameters
paint
SKPaint?
SaveLayer(SKRect)
public void SaveLayer(SKRect rect)
Parameters
rect
SKRect
SaveLayer(SKRect, SKPaint?)
public void SaveLayer(SKRect rect, SKPaint? paint)
Parameters
rect
SKRect
paint
SKPaint?
Scale(float)
public void Scale(float scale)
Parameters
scale
float
Scale(float, float)
public void Scale(float sx, float sy)
Parameters
sx
float
sy
float
SetMatrix(SKMatrix)
public void SetMatrix(SKMatrix matrix)
Parameters
matrix
SKMatrix
Translate(float, float)
public void Translate(float dx, float dy)
Parameters
dx
float
dy
float