Table of Contents

Class SKGeometryExtensions

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

Provides extension methods on SKCanvas for drawing geometric shapes centered at a given point.

public static class SKGeometryExtensions
Inheritance
SKGeometryExtensions
Inherited Members

Methods

DrawRegularPolygon(SKCanvas, SKPoint, float, int, SKPaint)

Draws a regular polygon centered at the specified point.

DrawRegularPolygon(SKCanvas, float, float, float, int, SKPaint)

Draws a regular polygon centered at the specified coordinates.

DrawSquare(SKCanvas, SKPoint, float, SKPaint)

Draws a square centered at the specified point.

DrawSquare(SKCanvas, float, float, float, SKPaint)

Draws a square centered at the specified coordinates.

DrawStar(SKCanvas, SKPoint, float, float, int, SKPaint)

Draws a star centered at the specified point.

DrawStar(SKCanvas, float, float, float, float, int, SKPaint)

Draws a star centered at the specified coordinates.

DrawTriangle(SKCanvas, SKPoint, SKSize, SKPaint)

Draws a triangle centered at the specified point with the given radii.

DrawTriangle(SKCanvas, SKPoint, float, SKPaint)

Draws a regular (equilateral) triangle centered at the specified point with the given circumscribed radius.

DrawTriangle(SKCanvas, SKRect, SKPaint)

Draws a triangle inscribed within the specified rectangle.

DrawTriangle(SKCanvas, float, float, float, SKPaint)

Draws a regular (equilateral) triangle centered at the specified coordinates with the given circumscribed radius.

DrawTriangle(SKCanvas, float, float, float, float, SKPaint)

Draws a triangle centered at the specified coordinates with the given horizontal and vertical radii.