Class StarShape
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
[ComVisible(false)]
public class StarShape : ElementShape
Constructors
StarShape()
Creates a new star shape with the specified number of arms and inner radius.
Declaration
public StarShape()
StarShape(Int32, Single)
Creates a new star shape with the specified number of arms and inner radius.
Declaration
public StarShape(int arms, float innerRadiusRatio)
Parameters
System.Int32
arms
The number of arms the star will have. |
System.Single
innerRadiusRatio
The ratio between the inner and out ration of the star. |
Properties
Arms
Gets or sets the number of arms.
Declaration
public int Arms { get; set; }
Property Value
System.Int32
|
InnerRadiusRatio
Gets or sets the ration between the inner and out radius.
Declaration
public float InnerRadiusRatio { get; set; }
Property Value
System.Single
|
Methods
CreatePath(Rectangle)
Creates Star like shape. Overrides CreatePath method in the base class ElementShape.
Declaration
public override GraphicsPath CreatePath(Rectangle bounds)
Parameters
System.Drawing.Rectangle
bounds
|
Returns
System.Drawing.Drawing2D.GraphicsPath
|