SKCanvas.DrawSurface Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
DrawSurface(SKSurface, SKPoint, SKPaint) |
Draws a surface on the canvas. |
DrawSurface(SKSurface, Single, Single, SKPaint) |
Draws a surface on the canvas. |
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
SkiaSharp 2.88.x an aner Versiounen
Produkt | Versiounen |
---|---|
SkiaSharp | 1.60.x, 1.68.x, 2.80.x, 2.88.x |
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
SkiaSharp 2.88.x an aner Versiounen
Produkt | Versiounen |
---|---|
SkiaSharp | 1.60.x, 1.68.x, 2.80.x, 2.88.x |
Feedback zu SkiaSharp
SkiaSharp ass en Open-Source-Projet. Wielt e Link, fir Feedback ze ginn: