ClassPolygonShapeBase
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
PolygonShapeBase(int, double, int)
Initializes a new instance of the PolygonShapeBase with the specified vertex count and angle of rotation in degrees.
Declaration
protected PolygonShapeBase(int vertexCount, double angle, int rounding)
Parameters
vertexCount
int
The number of vertices of the polygon.
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
VertexCount
TODO: Add documentation.
Declaration
public int VertexCount { get; set; }
Property Value
int
Methods
CreateRawShape()
Creates the raw shape.
Declaration
protected override void CreateRawShape()
Overrides
GetPoints(RectangleF)
Gets the points of this shape.
Declaration
protected abstract PointF[] GetPoints(RectangleF bounds)
Parameters
bounds
RectangleF
The bound of the shape.
Returns
PointF[]
A point array representing the points of this shape.
GetPointsCore(PointF, int, double, double)
Gets the core points for this shape.
Declaration
protected static PointF[] GetPointsCore(PointF center, int segmentCount, double radius, double angle)
Parameters
center
PointF
The center of the shape.
segmentCount
int
The number of segments of the shape.
radius
double
The radius of the shape.
angle
double
The angle of rotation of the shape.
Returns
PointF[]
A point array representing the core points of this shape.