Modifier

Partager via


SKCanvas.DrawSurface Method

Definition

Overloads

DrawSurface(SKSurface, SKPoint, SKPaint)

Draws a surface on the canvas.

DrawSurface(SKSurface, Single, Single, SKPaint)

Draws a surface on the canvas.

DrawSurface(SKSurface, SKPoint, SKPaint)

Draws a surface on the canvas.

public void DrawSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKPoint p, SkiaSharp.SKPaint paint = default);

Parameters

surface
SKSurface

The surface to draw.

p
SKPoint

The destination coordinates for the surface.

paint
SKPaint

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

Applies to

DrawSurface(SKSurface, Single, Single, SKPaint)

Draws a surface on the canvas.

public void DrawSurface (SkiaSharp.SKSurface surface, float x, float y, SkiaSharp.SKPaint paint = default);

Parameters

surface
SKSurface

The surface to draw.

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