Method CreateTrianglePath
CreateTrianglePath(float, float, SKPathDirection)
Creates a triangle path centered at the origin with the specified bounding width and height.
public static SKPath CreateTrianglePath(float width, float height, SKPathDirection direction = SKPathDirection.Clockwise)
Parameters
widthfloatThe width of the triangle's bounding box.
heightfloatThe height of the triangle's bounding box.
directionSKPathDirectionThe winding direction of the path.
Returns
CreateTrianglePath(float, SKPathDirection)
Creates a regular triangle (equilateral) path inscribed in a circle of the specified radius, centered at the origin.
public static SKPath CreateTrianglePath(float radius, SKPathDirection direction = SKPathDirection.Clockwise)
Parameters
radiusfloatThe circumscribed circle radius.
directionSKPathDirectionThe winding direction of the path.