ClassStarShape
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
StarShape()
Initializes a new instance of the StarShape with 3 vertexes, 50% concavity, and zero angle of rotation.
Declaration
public StarShape()
StarShape(int)
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
vertexCount
int
The number of vertices of the shape.
StarShape(int, int, double, int)
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
vertexCount
int
The number of vertices of the shape.
concavity
int
The concavity in percent of the shape.
angle
double
A double value specifying the angle of rotation of the shape in degrees.
rounding
int
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
int
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
object
Overrides
GetPoints(RectangleF)
Gets the points of this shape.
Declaration
protected override PointF[] GetPoints(RectangleF bounds)
Parameters
bounds
RectangleF
The bound of the shape.
Returns
PointF[]
A point array representing the points of this shape.
Overrides
ToString()
Returns a human-readable representation ot this StarShape.
Declaration
public override string ToString()
Returns
string
A human-readable representation ot this StarShape.
Overrides