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
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기