PolygonShape
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
Initializes a new instance of the PolygonShape with 3 vertexes and zero angle of rotation.
public PolygonShape()
Initializes a new instance of the PolygonShape with the specified vertex count and angle of rotation in degrees.
public PolygonShape(int vertexCount, double angle, int rounding)
The number of vertices 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 PolygonShape with the specified vertex count and zero angle of rotation.
public PolygonShape(int vertexCount)
The number of vertices of the shape.
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
Returns a human-readable representation ot this PolygonShape.
public override string ToString()
string
A human-readable representation ot this PolygonShape.
Overrides: