Class EllipseShape
Represents an ellipse shape that can render circles and ellipses based on the provided bounds.
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
[ComVisible(false)]
public class EllipseShape : ElementShape
Remarks
When the bounds are square, this shape renders as a perfect circle. When the bounds have different width and height, it renders as an ellipse that fits within the specified rectangle.
Constructors
EllipseShape()
Declaration
public EllipseShape()
Methods
CreatePath(Rectangle)
Creates an ellipse path that fits within the specified bounds.
Declaration
public override GraphicsPath CreatePath(Rectangle bounds)
Parameters
System.Drawing.Rectangle
bounds
The rectangle defining the bounds for the ellipse. |
Returns
System.Drawing.Drawing2D.GraphicsPath
A GraphicsPath representing an ellipse within the specified bounds. |