Class PolygonElement
Implements the "polygon" element of SVG DOM.
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.Windows.Forms.Chart.SvgBase
Assembly: Syncfusion.Chart.Base.dll
Syntax
public sealed 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 the element to specified System.Drawing.Graphics.
Declaration
protected override void DrawSelf(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The System.Drawing.Graphics. |
Overrides
FromPoints(PointF[])
Creates the new PolygonElement instance by the specified points.
Declaration
public static PolygonElement FromPoints(PointF[] points)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | points | The points. |
Returns
Type |
---|
PolygonElement |