Edit

SKPathBuilder.AddRect Method

Definition

Overloads

Name Description
AddRect(SKRect, SKPathDirection, UInt32)

Appends a rectangle contour to the path, starting at the specified corner.

AddRect(SKRect, SKPathDirection)

Appends a rectangle contour to the path.

AddRect(SKRect, SKPathDirection, UInt32)

Appends a rectangle contour to the path, starting at the specified corner.

public void AddRect(SkiaSharp.SKRect rect, SkiaSharp.SKPathDirection direction, uint startIndex);

Parameters

rect
SKRect

The rectangle to add.

direction
SKPathDirection

The winding direction of the rectangle contour.

startIndex
UInt32

The index of the corner (0–3) at which the contour begins.

Applies to

AddRect(SKRect, SKPathDirection)

Appends a rectangle contour to the path.

public void AddRect(SkiaSharp.SKRect rect, SkiaSharp.SKPathDirection direction = SkiaSharp.SKPathDirection.Clockwise);

Parameters

rect
SKRect

The rectangle to add.

direction
SKPathDirection

The winding direction of the rectangle contour.

Applies to