Table of Contents

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

owner View3D

Rectangle3D(View3D, Axis3DBinding, Axis3DBinding, Axis3DBinding)

Constructor.

public Rectangle3D(View3D owner, Axis3DBinding xAxis, Axis3DBinding yAxis, Axis3DBinding zAxis)

Parameters

owner View3D

Parent.

xAxis Axis3DBinding

X-axis binding.

yAxis Axis3DBinding

Y-axis binding.

zAxis Axis3DBinding

Z-axis binding.

Properties

Center

Center of rectangle.

public PointDoubleXYZ Center { get; set; }

Property Value

PointDoubleXYZ

Fill

Rectangle fill.

public RectangleFill Fill { get; set; }

Property Value

RectangleFill

IgnoreDepth

Draw without the depth test, so that nothing in the scene can hide this rectangle.

public bool IgnoreDepth { get; set; }

Property Value

bool

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

PointDoubleXYZ

Size

Rectangle size.

public SizeDoubleXY Size { get; set; }

Property Value

SizeDoubleXY

Visible

Visible.

public bool Visible { get; set; }

Property Value

bool

XAxisBinding

X axis binding

public Axis3DBinding XAxisBinding { get; set; }

Property Value

Axis3DBinding

YAxisBinding

Y axis binding

public Axis3DBinding YAxisBinding { get; set; }

Property Value

Axis3DBinding

ZAxisBinding

Z axis binding

public Axis3DBinding ZAxisBinding { get; set; }

Property Value

Axis3DBinding

Methods

Construct()

Create member.

protected virtual void Construct()

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true 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

x int

Mouse X-coordinate.

y int

Mouse Y-coordinate.

useDIP bool

Use DIP.

Returns

bool

ToString()

Object as string.

public override string ToString()

Returns

string

Object as a string.