Class Polygon3D
- Namespace
- LightningChartLib.WinForms.Charting.Views.View3D
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Polygon in 3D.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Polygon3D : TransparencyRenderItem, IChartNode, IDisposable, IHighlightingItem
- Inheritance
-
Polygon3D
- Implements
- Inherited Members
Constructors
Polygon3D()
Constructor.
public Polygon3D()
Polygon3D(View3D)
Constructor.
public Polygon3D(View3D owner)
Parameters
ownerView3Dparam owner M:LightningChartLib.WinForms.Charting.Views.View3D.Polygon3D.#ctor(LightningChartLib.WinForms.Charting.Views.View3D.View3D)
Polygon3D(View3D, Axis3DBinding, Axis3DBinding, Axis3DBinding)
Constructor.
public Polygon3D(View3D owner, Axis3DBinding xAxis, Axis3DBinding yAxis, Axis3DBinding zAxis)
Parameters
ownerView3DParent.
xAxisAxis3DBindingX-axis binding.
yAxisAxis3DBindingY-axis binding.
zAxisAxis3DBindingZ-axis binding.
Properties
CursorTrackEnabled
Cursor tracking enabled.
public bool CursorTrackEnabled { get; set; }
Property Value
Material
Material.
public Material3D Material { get; set; }
Property Value
Points
Series points
public Polygon3DPoint[] Points { get; set; }
Property Value
Rotation
Rotation of polygon.
public PointDoubleXYZ Rotation { get; set; }
Property Value
Visible
Visible.
public bool Visible { get; set; }
Property Value
XAxisBinding
X axis binding
public Axis3DBinding XAxisBinding { get; set; }
Property Value
YAxisBinding
Y axis binding
public Axis3DBinding YAxisBinding { get; set; }
Property Value
YMax
YMax
public double YMax { get; set; }
Property Value
YMin
YMin
public double YMin { get; set; }
Property Value
ZAxisBinding
Z axis binding
public Axis3DBinding ZAxisBinding { get; set; }
Property Value
Methods
Clear()
Clears the Points array.
public void Clear()
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.
IsPositionOver(int, int, bool)
Is position over polygon.
public override bool IsPositionOver(int x, int y, bool useDIP = false)
Parameters
xintX coordinate
yintY coordinate
useDIPboolparam useDIP M:LightningChartLib.WinForms.Charting.Views.View3D.Polygon3D.IsPositionOver(System.Int32,System.Int32,System.Boolean)
Returns
- bool
returns M:LightningChartLib.WinForms.Charting.Views.View3D.Polygon3D.IsPositionOver(System.Int32,System.Int32,System.Boolean)
ToString()
Object as string.
public override string ToString()
Returns
- string
Object as a string.