Class Rectangle3D
- Namespace
- LightningChartLib.WinForms.Charting.Views.View3D
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Rectangle in 3D.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Rectangle3D : TransparencyRenderItem, IChartNode, IDisposable, IHighlightingItem
- Inheritance
-
Rectangle3D
- Implements
- Inherited Members
Constructors
Rectangle3D()
Constructor.
public Rectangle3D()
Rectangle3D(View3D)
Constructor.
public Rectangle3D(View3D owner)
Parameters
ownerView3D
Rectangle3D(View3D, Axis3DBinding, Axis3DBinding, Axis3DBinding)
Constructor.
public Rectangle3D(View3D owner, Axis3DBinding xAxis, Axis3DBinding yAxis, Axis3DBinding zAxis)
Parameters
ownerView3DParent.
xAxisAxis3DBindingX-axis binding.
yAxisAxis3DBindingY-axis binding.
zAxisAxis3DBindingZ-axis binding.
Properties
Center
Center of rectangle.
public PointDoubleXYZ Center { get; set; }
Property Value
Fill
Rectangle fill.
public RectangleFill Fill { get; set; }
Property Value
IgnoreDepth
Draw without the depth test, so that nothing in the scene can hide this rectangle.
public bool IgnoreDepth { get; set; }
Property Value
Remarks
For a rectangle that marks a place in the scene rather than being content of it - a section boundary, a reference plane - which has to stay readable from every angle. Such a rectangle is drawn over whatever is in front of it, so it no longer says which side of the geometry it is on.
Off by default, and it changes nothing for any other rectangle: the depth state is switched off for this one alone and switched back straight after it is drawn.
Rotation
Rotation of rectangle.
public PointDoubleXYZ Rotation { get; set; }
Property Value
Size
Rectangle size.
public SizeDoubleXY Size { 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
ZAxisBinding
Z axis binding
public Axis3DBinding ZAxisBinding { get; set; }
Property Value
Methods
Construct()
Create member.
protected virtual void Construct()
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.
FreeDrawData()
Free DrawData.
public virtual void FreeDrawData()
IsPositionOver(int, int, bool)
Is Mouse Over.
public override bool IsPositionOver(int x, int y, bool useDIP = false)
Parameters
Returns
ToString()
Object as string.
public override string ToString()
Returns
- string
Object as a string.