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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin