SKCanvas.DrawDrawable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DrawDrawable(SKDrawable, Single, Single) |
Draws a drawable on the canvas. |
DrawDrawable(SKDrawable, SKPoint) |
Draws a drawable on the canvas. |
DrawDrawable(SKDrawable, SKMatrix) |
Draws a drawable on the canvas. |
DrawDrawable(SKDrawable, Single, Single)
Draws a drawable on the canvas.
public void DrawDrawable (SkiaSharp.SKDrawable drawable, float x, float y);
Parameters
- drawable
- SKDrawable
The drawable to draw.
- x
- Single
The destination x-coordinate for the drawable.
- y
- Single
The destination y-coordinate for the drawable.
Applies to
DrawDrawable(SKDrawable, SKPoint)
Draws a drawable on the canvas.
public void DrawDrawable (SkiaSharp.SKDrawable drawable, SkiaSharp.SKPoint p);
Parameters
- drawable
- SKDrawable
The drawable to draw.
- p
- SKPoint
The destination coordinates for the drawable.
Applies to
DrawDrawable(SKDrawable, SKMatrix)
Draws a drawable on the canvas.
public void DrawDrawable (SkiaSharp.SKDrawable drawable, ref SkiaSharp.SKMatrix matrix);
Parameters
- drawable
- SKDrawable
The drawable to draw.
- matrix
- SKMatrix
The matrix to apply while painting.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
SkiaSharp