Editar

Compartilhar via


SKDrawable.Draw Method

Definition

Overloads

Draw(SKCanvas, SKMatrix)

Draw the current drawable onto the specified canvas.

Draw(SKCanvas, Single, Single)

Draw the current drawable onto the specified canvas.

Draw(SKCanvas, SKMatrix)

Draw the current drawable onto the specified canvas.

public void Draw (SkiaSharp.SKCanvas canvas, ref SkiaSharp.SKMatrix matrix);

Parameters

canvas
SKCanvas

The canvas to draw on.

matrix
SKMatrix

The matrix to use when drawing.

Applies to

Draw(SKCanvas, Single, Single)

Draw the current drawable onto the specified canvas.

public void Draw (SkiaSharp.SKCanvas canvas, float x, float y);

Parameters

canvas
SKCanvas

The canvas to draw on.

x
Single

The amount to translate along the x-coordinate.

y
Single

The amount to translate along the y-coordinate.

Applies to