ClassPolygonShape
Represents a polygon shape.
Definition
Namespace:Telerik.Reporting.Drawing.Shapes
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter(typeof(PolygonShapeConverter))]
public class PolygonShape : PolygonShapeBase
Inheritance: objectShapeBaseRoundedCornerShapePolygonShapeBasePolygonShape
Inherited Members
Constructors
PolygonShape()
Initializes a new instance of the PolygonShape with 3 vertexes and zero angle of rotation.
Declaration
public PolygonShape()
PolygonShape(int)
Initializes a new instance of the PolygonShape with the specified vertex count and zero angle of rotation.
Declaration
public PolygonShape(int vertexCount)
Parameters
vertexCount
int
The number of vertices of the shape.
PolygonShape(int, double, int)
Initializes a new instance of the PolygonShape with the specified vertex count and angle of rotation in degrees.
Declaration
public PolygonShape(int vertexCount, double angle, int rounding)
Parameters
vertexCount
int
The number of vertices 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.
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 PolygonShape.
Declaration
public override string ToString()
Returns
string
A human-readable representation ot this PolygonShape.
Overrides