Class PolygonElement
Class for Polygon.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.SVG.IO
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class PolygonElement : SuperElement, IElement, IStrokeAttributes, IFillAttributes, ITransformAttribute, IStyleAttribute, IFontAttributes, IViewBoxAttribute, IOpacityAttribute, IClipingAttribute
Constructors
PolygonElement()
Initializes a new instance of the PolygonElement class.
Declaration
public PolygonElement()
Properties
Points
Gets or sets the points.
Declaration
public PointsArray Points { get; set; }
Property Value
Type | Description |
---|---|
PointsArray | The points. |
Methods
DrawSelf(Graphics)
Draws self.
Declaration
protected override void DrawSelf(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics. |
Overrides
FromPoints(PointF[])
Froms the points.
Declaration
public static PolygonElement FromPoints(PointF[] points)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | points | The points. |
Returns
Type | Description |
---|---|
PolygonElement | Polygon element |