Op Englesch liesen Editéieren

Deelen iwwer


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.

C#
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

SkiaSharp 2.88.x an aner Versiounen
Produkt Versiounen
SkiaSharp 1.60.x, 1.68.x, 2.80.x, 2.88.x

DrawSurface(SKSurface, Single, Single, SKPaint)

Draws a surface on the canvas.

C#
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

SkiaSharp 2.88.x an aner Versiounen
Produkt Versiounen
SkiaSharp 1.60.x, 1.68.x, 2.80.x, 2.88.x