StarShape
Represents a star shape.
Definition
Namespace:Telerik.Reporting.Drawing.Shapes
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(StarShapeConverter))]
public class StarShape : PolygonShapeBase
Inheritance: objectShapeBaseRoundedCornerShapePolygonShapeBaseStarShape
Inherited Members
Constructors
Initializes a new instance of the StarShape with 3 vertexes, 50% concavity, and zero angle of rotation.
public StarShape()
Initializes a new instance of the StarShape with the specified vertex count, concavity, and angle of rotation in degrees.
public StarShape(int vertexCount, int concavity, double angle, int rounding)
The number of vertices of the shape.
concavityintThe concavity in percent of the shape.
angledoubleA double value specifying the angle of rotation of the shape in degrees.
roundingintAn int value between 0 and 100 specifying the rounding of the edges in percent.
Initializes a new instance of the StarShape with the specified vertex count, 50% concavity, and zero angle of rotation.
public StarShape(int vertexCount)
The number of vertices of the shape.
Properties
Concavity
int
Gets or sets a percent value specifying the concavity of the shape.
public int Concavity { get; set; }
An int value between 0 and 100 specifying the concavity of the shape in percentage.
Methods
Clone()
object
TODO: Add documentation.
public override object Clone()
object
Overrides:
GetPoints(RectangleF)
PointF[]
Gets the points of this shape.
protected override PointF[] GetPoints(RectangleF bounds)
The bound of the shape.
Returns:PointF[]
A point array representing the points of this shape.
Overrides:
ToString()
string