SKPathBuilder.AddRect Method
Definition
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.
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.