SKPathBuilder.AddRoundRect 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 |
|---|---|
| AddRoundRect(SKRoundRect, SKPathDirection) |
Appends a round rectangle contour to the path. |
| AddRoundRect(SKRoundRect, SKPathDirection, UInt32) |
Appends a round rectangle contour to the path, starting at the specified point index. |
| AddRoundRect(SKRect, Single, Single, SKPathDirection) |
Appends a round rectangle contour with the specified corner radii to the path. |
AddRoundRect(SKRoundRect, SKPathDirection)
Appends a round rectangle contour to the path.
public void AddRoundRect(SkiaSharp.SKRoundRect rect, SkiaSharp.SKPathDirection direction = SkiaSharp.SKPathDirection.Clockwise);
Parameters
- rect
- SKRoundRect
The round rectangle to add.
- direction
- SKPathDirection
The winding direction of the round rectangle contour.
Applies to
AddRoundRect(SKRoundRect, SKPathDirection, UInt32)
Appends a round rectangle contour to the path, starting at the specified point index.
public void AddRoundRect(SkiaSharp.SKRoundRect rect, SkiaSharp.SKPathDirection direction, uint startIndex);
Parameters
- rect
- SKRoundRect
The round rectangle to add.
- direction
- SKPathDirection
The winding direction of the round rectangle contour.
- startIndex
- UInt32
The index of the starting point on the contour.
Applies to
AddRoundRect(SKRect, Single, Single, SKPathDirection)
Appends a round rectangle contour with the specified corner radii to the path.
public void AddRoundRect(SkiaSharp.SKRect rect, float rx, float ry, SkiaSharp.SKPathDirection dir = SkiaSharp.SKPathDirection.Clockwise);
Parameters
- rect
- SKRect
The bounding rectangle of the round rectangle.
- rx
- Single
The horizontal radius of the rounded corners.
- ry
- Single
The vertical radius of the rounded corners.
- dir
- SKPathDirection
The winding direction of the contour.