Method CreateSquarePath
CreateSquarePath(float, SKPathDirection)
Creates a square path centered at the origin with the specified side length.
public static SKPath CreateSquarePath(float side, SKPathDirection direction = SKPathDirection.Clockwise)
Parameters
sidefloatThe length of each side of the square.
directionSKPathDirectionThe winding direction of the path.