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
Polygon
Declaration
protected PolygonShapeBase(int vertexCount, double angle, int rounding)
Parameters
System. The number of vertices of the polygon. |
System. A double value specifying the angle of rotation of the shape in degrees. |
System. 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.
|
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. The bound of the shape. |
Returns
System. 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. The center of the shape. |
System. The number of segments of the shape. |
System. The radius of the shape. |
System. The angle of rotation of the shape. |
Returns
System. A point array representing the core points of this shape. |