Class PolygonShapeBase
Represents the base class for all polygon shapes.
Inherited Members
Namespace: Telerik.Reporting.Drawing.Shapes
Assembly: Telerik.Reporting.dll
Syntax
public abstract class PolygonShapeBase : RoundedCornerShape, IEnumerable<IShapeSegment>, IEnumerable, ICloneable
Constructors
PolygonShapeBase(Int32, Double, Int32)
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
System.Int32
vertexCount
The number of vertices of the polygon. |
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. |
Properties
VertexCount
Declaration
public int VertexCount { get; set; }
Property Value
System.Int32
|
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
System.Drawing.RectangleF
bounds
The bound of the shape. |
Returns
System.Drawing.PointF[]
A point array representing the points of this shape. |
GetPointsCore(PointF, Int32, Double, Double)
Gets the core points for this shape.
Declaration
protected static PointF[] GetPointsCore(PointF center, int segmentCount, double radius, double angle)
Parameters
System.Drawing.PointF
center
The center of the shape. |
System.Int32
segmentCount
The number of segments of the shape. |
System.Double
radius
The radius of the shape. |
System.Double
angle
The angle of rotation of the shape. |
Returns
System.Drawing.PointF[]
A point array representing the core points of this shape. |