Class StarShape
Represents a star shape.
Inherited Members
Namespace: Telerik.Reporting.Drawing.Shapes
Assembly: Telerik.Reporting.dll
Syntax
public class StarShape : PolygonShapeBase, IEnumerable<IShapeSegment>, IEnumerable, ICloneable
Constructors
StarShape()
Initializes a new instance of the StarShape with 3 vertexes, 50% concavity, and zero angle of rotation.
Declaration
public StarShape()
StarShape(Int32)
Initializes a new instance of the StarShape with the specified vertex count, 50% concavity, and zero angle of rotation.
Declaration
public StarShape(int vertexCount)
Parameters
|
System.Int32
vertexCount
The number of vertices of the shape. |
StarShape(Int32, Int32, Double, Int32)
Initializes a new instance of the StarShape with the specified vertex count, concavity, and angle of rotation in degrees.
Declaration
public StarShape(int vertexCount, int concavity, double angle, int rounding)
Parameters
|
System.Int32
vertexCount
The number of vertices of the shape. |
|
System.Int32
concavity
The concavity in percent of the shape. |
|
System.Double
angle
A double value specifying the angle of rotation of the shape in degrees. |
|
System.Int32
rounding
An int value between 0 and 100 specifying the rounding of the edges in percent. |
Properties
Concavity
Gets or sets a percent value specifying the concavity of the shape.
Declaration
public int Concavity { get; set; }
Property Value
|
System.Int32
An int value between 0 and 100 specifying the concavity of the shape in percentage. |
Methods
Clone()
TODO: Add documentation.
Declaration
public override object Clone()
Returns
|
System.Object
|
Overrides
GetPoints(RectangleF)
Gets the points of this shape.
Declaration
protected override PointF[] GetPoints(RectangleF bounds)
Parameters
|
System.Drawing.RectangleF
bounds
The bound of the shape. |
Returns
|
System.Drawing.PointF[]
A point array representing the points of this shape. |