PolygonShapeBase
Represents the base class for all polygon shapes.
Definition
Namespace:Telerik.Reporting.Drawing.Shapes
Assembly:Telerik.Reporting.dll
Syntax:
public abstract class PolygonShapeBase : RoundedCornerShape
Inheritance: objectShapeBaseRoundedCornerShapePolygonShapeBase
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the PolygonShapeBase with the specified vertex count and angle of rotation in degrees.
protected PolygonShapeBase(int vertexCount, double angle, int rounding)
The number of vertices of the polygon.
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.
Properties
VertexCount
int
TODO: Add documentation.
public int VertexCount { get; set; }
Methods
Creates the raw shape.
protected override void CreateRawShape()
Overrides:
GetPoints(RectangleF)
PointF[]
Gets the points of this shape.
protected abstract PointF[] GetPoints(RectangleF bounds)
The bound of the shape.
Returns:PointF[]
A point array representing the points of this shape.
Gets the core points for this shape.
protected static PointF[] GetPointsCore(PointF center, int segmentCount, double radius, double angle)
The center of the shape.
segmentCountintThe number of segments of the shape.
radiusdoubleThe radius of the shape.
angledoubleThe angle of rotation of the shape.
Returns:PointF[]
A point array representing the core points of this shape.