Method BuildRectangleContour
BuildRectangleContour(Rect, Vector2, Vector2, Vector2, Vector2)
Builds a BezierContour from a Rectangle.
Declaration
public static BezierContour BuildRectangleContour(Rect rect, Vector2 radiusTL, Vector2 radiusTR, Vector2 radiusBR, Vector2 radiusBL)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | The rectangle to build the contour from |
Vector2 | radiusTL | The top-left radius of the rectangle |
Vector2 | radiusTR | The top-right radius of the rectangle |
Vector2 | radiusBR | The bottom-right radius of the rectangle |
Vector2 | radiusBL | The bottom-left radius of the rectangle |
Returns
Type | Description |
---|---|
BezierContour | A BezierContour that follows the rectangle contour |