Class PolygonShape
Represents a polygon shape.
Inherited Members
Namespace: Telerik.Reporting.Drawing.Shapes
Assembly: Telerik.Reporting.dll
Syntax
public class PolygonShape : PolygonShapeBase, IEnumerable<IShapeSegment>, IEnumerable, ICloneable
Constructors
PolygonShape()
Initializes a new instance of the PolygonShape with 3 vertexes and zero angle of rotation.
Declaration
public PolygonShape()
PolygonShape(Int32)
Initializes a new instance of the PolygonShape with the specified vertex count and zero angle of rotation.
Declaration
public PolygonShape(int vertexCount)
Parameters
System.Int32
vertexCount
The number of vertices of the shape. |
PolygonShape(Int32, Double, Int32)
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
System.Int32
vertexCount
The number of vertices 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. |
Methods
Clone()
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. |
Overrides
ToString()
Returns a human-readable representation ot this PolygonShape.
Declaration
public override string ToString()
Returns
System.String
A human-readable representation ot this PolygonShape. |