Piccolo.NET

PPath.CreateEllipse Method 

Creates a new PPath with the shape of the ellipse specified by the given dimensions.

public static PPath CreateEllipse(
   float x,
   float y,
   float width,
   float height
);

Parameters

x
The x-coordinate of the top left corner of the bounding box of the ellipse.
y
The y-coordinate of the top left corner of the bounding box of the ellipse.
width
The width of the ellipse.
height
The height of the ellipse.

Return Value

The new PPath node.

See Also

PPath Class | UMD.HCIL.Piccolo.Nodes Namespace