SkiaSharp.SKCanvas.DrawVertices Method

Draws an array of vertices, interpreted as triangles (based on mode).

Syntax

public Void DrawVertices (SKVertexMode vmode, SKPoint[] vertices, SKColor[] colors, SKPaint paint)

Parameters

vmode
How to interpret the array of vertices.
vertices
The array of vertices for the mesh.
colors
The color for each vertex, to be interpolated across the triangle. May be null.
paint
The shader/texture.

Remarks

Requirements

Namespace: SkiaSharp
Assembly: SkiaSharp (in SkiaSharp.dll)
Assembly Versions: 1.56.0.0, 1.57.0.0, 1.58.0.0, 1.59.0.0