Class Polygon
Represents the simple 3D polygon.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class Polygon : Plane3D
Constructors
Polygon(Polygon)
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Polygon poly)
Parameters
| Type | Name | Description |
|---|---|---|
| Polygon | poly | The poly. |
Polygon(Vector3D, Double)
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Vector3D normal, double d)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D | normal | The normal. |
| System.Double | d | The d. |
Polygon(Vector3D[])
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Vector3D[] points)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D[] | points | The points. |
Polygon(Vector3D[], BrushInfo)
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Vector3D[] points, BrushInfo br)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D[] | points | The points. |
| BrushInfo | br | The br. |
Polygon(Vector3D[], BrushInfo, Pen)
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Vector3D[] points, BrushInfo br, Pen pen)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D[] | points | The points. |
| BrushInfo | br | The br. |
| System.Drawing.Pen | pen | The pen. |
Polygon(Vector3D[], BrushInfo, Pen, Boolean)
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Vector3D[] points, BrushInfo br, Pen pen, bool IsPNF)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D[] | points | The points. |
| BrushInfo | br | The br. |
| System.Drawing.Pen | pen | The pen. |
| System.Boolean | IsPNF | The PNF. |
Polygon(Vector3D[], Polygon)
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Vector3D[] points, Polygon polygon)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D[] | points | The points. |
| Polygon | polygon | The PLG. |
Polygon(Vector3D[], Boolean)
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Vector3D[] points, bool clipPolygon)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D[] | points | The points. |
| System.Boolean | clipPolygon | if set to |
Polygon(Vector3D[], Brush)
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Vector3D[] points, Brush br)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D[] | points | The points. |
| System.Drawing.Brush | br | The br. |
Polygon(Vector3D[], Brush, Pen)
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Vector3D[] points, Brush br, Pen pen)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D[] | points | The points. |
| System.Drawing.Brush | br | The br. |
| System.Drawing.Pen | pen | The pen. |
Polygon(Vector3D[], Pen)
Initializes a new instance of the Polygon class.
Declaration
public Polygon(Vector3D[] points, Pen pen)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3D[] | points | The points. |
| System.Drawing.Pen | pen | The pen. |
Properties
Brush
Gets the brush.
Declaration
public Brush Brush { get; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Brush | The brush. |
BrushInfo
Gets the brush info.
Declaration
public BrushInfo BrushInfo { get; }
Property Value
| Type | Description |
|---|---|
| BrushInfo | The brush info. |
ClipPolygon
Gets or sets a value indicating whether polygon is used as clip plane.
Declaration
public bool ClipPolygon { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Pen
Gets the pen.
Declaration
public Pen Pen { get; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Pen | The pen. |
Points
Gets the points of polygon.
Declaration
public virtual Vector3D[] Points { get; }
Property Value
| Type | Description |
|---|---|
| Vector3D[] | The points. |
RegionData
Gets or sets the region data.
Declaration
public ChartRegionData RegionData { get; set; }
Property Value
| Type | Description |
|---|---|
| ChartRegionData | The region data. |
Methods
Clone()
Clones this instance.
Declaration
public virtual Polygon Clone()
Returns
| Type | Description |
|---|---|
| Polygon | Returns Polygon. |
Draw(Graphics3D)
Draws to the specified Graphics3D.
Declaration
public virtual ChartRegion Draw(Graphics3D g3d)
Parameters
| Type | Name | Description |
|---|---|---|
| Graphics3D | g3d | The g3d. |
Returns
| Type | Description |
|---|---|
| ChartRegion | Return ChartRegion. |
Finalize()
Releases unmanaged resources and performs other cleanup operations before the Polygon is reclaimed by garbage collection.
Declaration
protected void Finalize()
Transform(Matrix3D)
Transforms by the specified Matrix3D.
Declaration
public override void Transform(Matrix3D matrix3D)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3D | matrix3D | The Matrix3D. |