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에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
SkiaSharp