Class DonutShape
Represents a donut (ring-shaped) element shape with configurable thickness.
Inherited Members
Namespace: Telerik.WinControls.Tests
Assembly: Telerik.WinControls.dll
Syntax
[ComVisible(false)]
public class DonutShape : ElementShape
Constructors
DonutShape()
Declaration
public DonutShape()
Properties
Thickness
Gets or sets the thickness of the donut ring in pixels.
Declaration
public int Thickness { get; set; }
Property Value
System.Int32
The thickness of the ring. Default is 10 pixels. |
Methods
CreatePath(Rectangle)
Creates a donut-shaped graphics path with an outer ellipse and inner hole.
Declaration
public override GraphicsPath CreatePath(Rectangle bounds)
Parameters
System.Drawing.Rectangle
bounds
The bounding rectangle for the donut shape. |
Returns
System.Drawing.Drawing2D.GraphicsPath
A System.Drawing.Drawing2D.GraphicsPath representing the donut shape. |