Modifier

Partager via


SKSurface.Draw(SKCanvas, Single, Single, SKPaint) Method

Definition

Draws the current surface on the specified canvas.

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

Parameters

canvas
SKCanvas

The canvas to draw on.

x
Single

The destination x-coordinate for the surface.

y
Single

The destination y-coordinate for the surface.

paint
SKPaint

The paint to use when drawing the surface, or null.

Applies to