Method CreateRectanglePath
CreateRectanglePath(float, float, SKPathDirection)
Creates a rectangle path centered at the origin with the specified dimensions.
public static SKPath CreateRectanglePath(float width, float height, SKPathDirection direction = SKPathDirection.Clockwise)
Parameters
widthfloatThe width of the rectangle.
heightfloatThe height of the rectangle.
directionSKPathDirectionThe winding direction of the path.