편집

다음을 통해 공유


SKCanvas.DrawDrawable Method

Definition

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