eVision .NET API
Loading...
Searching...
No Matches
eVision.Easy3D.TextLabel Class Reference

A class representing a text label that can be displayed using E3DViewer. More...

Inheritance diagram for eVision.Easy3D.TextLabel:
Collaboration diagram for eVision.Easy3D.TextLabel:

Public Member Functions

 TextLabel (eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, string text, bool displayAnchor, eVision.EC24A backgroundColor, eVision.Easy3D.ETextLabelAlignment alignment)
 Constructs a text label.
 TextLabel (eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, string text, bool displayAnchor, eVision.EC24A backgroundColor)
 Constructs a text label.
 TextLabel (eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, string text, bool displayAnchor)
 Constructs a text label.
 TextLabel (eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, string text)
 Constructs a text label.
 TextLabel (eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, string text, bool fixLabelPosition, bool displayAnchor, eVision.EC24A backgroundColor, eVision.Easy3D.ETextLabelAlignment alignment)
 Constructs a text label.
 TextLabel (eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, string text, bool fixLabelPosition, bool displayAnchor, eVision.EC24A backgroundColor)
 Constructs a text label.
 TextLabel (eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, string text, bool fixLabelPosition, bool displayAnchor)
 Constructs a text label.
 TextLabel (eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, string text, bool fixLabelPosition)
 Constructs a text label.
 TextLabel (eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, string text)
 Constructs a text label.
 TextLabel (float posX, float posY, eVision.EC24 color, float size, string text, eVision.EC24A backgroundColor, eVision.Easy3D.ETextLabelAlignment alignment)
 Constructs a text label.
 TextLabel (float posX, float posY, eVision.EC24 color, float size, string text, eVision.EC24A backgroundColor)
 Constructs a text label.
 TextLabel (float posX, float posY, eVision.EC24 color, float size, string text)
 Constructs a text label.
 TextLabel (eVision.Easy3D.TextLabel other)
 Constructs a text label.

Properties

eVision.Easy3D.E3DPoint Anchor [get, set]
 The E3DPoint linked to the text label.
float PosX [get, set]
 The x coordinate of the text box. Value between -1 (left) and 1 (right).
float PosY [get, set]
 The y coordinate of the text box. Value between -1 (bottom) and 1 (top).
eVision.EC24 Color [get, set]
 The color of the text label.
float Size [get, set]
 The size of the text font. Value between 0 et 1.
string Text [get, set]
 The text of the text label.
bool DisplayAnchor [get, set]
 If set to true, a line is drawn between the anchor and the label.
bool Fixed [get, set]
 If set to true, the label stays fixed when the view changes.
eVision.EC24A BackgroundColor [get, set]
 The background of the label is set to this color.
eVision.Easy3D.ETextLabelAlignment Alignment [get, set]
 The alignment of the label.

Detailed Description

A class representing a text label that can be displayed using E3DViewer.

License(s): Easy3D

Constructor & Destructor Documentation

◆ TextLabel() [1/13]

eVision.Easy3D.TextLabel.TextLabel ( eVision.Easy3D.E3DPoint anchor,
float posX,
float posY,
eVision.EC24 color,
float size,
string text,
bool displayAnchor,
eVision.EC24A backgroundColor,
eVision.Easy3D.ETextLabelAlignment alignment )

Constructs a text label.

Parameters
anchorThe E3DPoint linked to the text label.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
displayAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundColorIf specified, the background of the label is set to this color (default: black).
alignmentThe alignment of the label. (Defaults to FromPosition.)

◆ TextLabel() [2/13]

eVision.Easy3D.TextLabel.TextLabel ( eVision.Easy3D.E3DPoint anchor,
float posX,
float posY,
eVision.EC24 color,
float size,
string text,
bool displayAnchor,
eVision.EC24A backgroundColor )

Constructs a text label.

Parameters
anchorThe E3DPoint linked to the text label.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
displayAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundColorIf specified, the background of the label is set to this color (default: black).

◆ TextLabel() [3/13]

eVision.Easy3D.TextLabel.TextLabel ( eVision.Easy3D.E3DPoint anchor,
float posX,
float posY,
eVision.EC24 color,
float size,
string text,
bool displayAnchor )

Constructs a text label.

Parameters
anchorThe E3DPoint linked to the text label.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
displayAnchorIf set to true, a line is drawn between the anchor and the label (default: true).

◆ TextLabel() [4/13]

eVision.Easy3D.TextLabel.TextLabel ( eVision.Easy3D.E3DPoint anchor,
float posX,
float posY,
eVision.EC24 color,
float size,
string text )

Constructs a text label.

Parameters
anchorThe E3DPoint linked to the text label.
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.

◆ TextLabel() [5/13]

eVision.Easy3D.TextLabel.TextLabel ( eVision.Easy3D.E3DPoint anchor,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition,
bool displayAnchor,
eVision.EC24A backgroundColor,
eVision.Easy3D.ETextLabelAlignment alignment )

Constructs a text label.

Parameters
anchorThe E3DPoint linked to the text label.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
displayAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundColorIf specified, the background of the label is set to this color (default: black).
alignmentThe alignment of the label. (Defaults to FromPosition.)

◆ TextLabel() [6/13]

eVision.Easy3D.TextLabel.TextLabel ( eVision.Easy3D.E3DPoint anchor,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition,
bool displayAnchor,
eVision.EC24A backgroundColor )

Constructs a text label.

Parameters
anchorThe E3DPoint linked to the text label.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
displayAnchorIf set to true, a line is drawn between the anchor and the label (default: true).
backgroundColorIf specified, the background of the label is set to this color (default: black).

◆ TextLabel() [7/13]

eVision.Easy3D.TextLabel.TextLabel ( eVision.Easy3D.E3DPoint anchor,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition,
bool displayAnchor )

Constructs a text label.

Parameters
anchorThe E3DPoint linked to the text label.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).
displayAnchorIf set to true, a line is drawn between the anchor and the label (default: true).

◆ TextLabel() [8/13]

eVision.Easy3D.TextLabel.TextLabel ( eVision.Easy3D.E3DPoint anchor,
eVision.EC24 color,
float size,
string text,
bool fixLabelPosition )

Constructs a text label.

Parameters
anchorThe E3DPoint linked to the text label.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
fixLabelPositionIf set to true, the label stays fixed when the view changes (default: false).

◆ TextLabel() [9/13]

eVision.Easy3D.TextLabel.TextLabel ( eVision.Easy3D.E3DPoint anchor,
eVision.EC24 color,
float size,
string text )

Constructs a text label.

Parameters
anchorThe E3DPoint linked to the text label.
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.

◆ TextLabel() [10/13]

eVision.Easy3D.TextLabel.TextLabel ( float posX,
float posY,
eVision.EC24 color,
float size,
string text,
eVision.EC24A backgroundColor,
eVision.Easy3D.ETextLabelAlignment alignment )

Constructs a text label.

Parameters
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
backgroundColorIf specified, the background of the label is set to this color (default: black).
alignmentThe alignment of the label. (Defaults to FromPosition.)

◆ TextLabel() [11/13]

eVision.Easy3D.TextLabel.TextLabel ( float posX,
float posY,
eVision.EC24 color,
float size,
string text,
eVision.EC24A backgroundColor )

Constructs a text label.

Parameters
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.
backgroundColorIf specified, the background of the label is set to this color (default: black).

◆ TextLabel() [12/13]

eVision.Easy3D.TextLabel.TextLabel ( float posX,
float posY,
eVision.EC24 color,
float size,
string text )

Constructs a text label.

Parameters
posXThe x coordinate of the text box. Value between -1 (left) and 1 (right).
posYThe y coordinate of the text box. Value between -1 (bottom) and 1 (top).
colorThe color of the text label.
sizeThe size of the text font. Value between 0 et 1.
textThe text of the text label.

◆ TextLabel() [13/13]

eVision.Easy3D.TextLabel.TextLabel ( eVision.Easy3D.TextLabel other)

Constructs a text label.

Parameters
otherThe other TextLabel that we will copy into this one.

Property Documentation

◆ Alignment

eVision.Easy3D.ETextLabelAlignment eVision.Easy3D.TextLabel.Alignment
getset

The alignment of the label.

◆ Anchor

eVision.Easy3D.E3DPoint eVision.Easy3D.TextLabel.Anchor
getset

The E3DPoint linked to the text label.

◆ BackgroundColor

eVision.EC24A eVision.Easy3D.TextLabel.BackgroundColor
getset

The background of the label is set to this color.

◆ Color

eVision.EC24 eVision.Easy3D.TextLabel.Color
getset

The color of the text label.

◆ DisplayAnchor

bool eVision.Easy3D.TextLabel.DisplayAnchor
getset

If set to true, a line is drawn between the anchor and the label.

◆ Fixed

bool eVision.Easy3D.TextLabel.Fixed
getset

If set to true, the label stays fixed when the view changes.

◆ PosX

float eVision.Easy3D.TextLabel.PosX
getset

The x coordinate of the text box. Value between -1 (left) and 1 (right).

◆ PosY

float eVision.Easy3D.TextLabel.PosY
getset

The y coordinate of the text box. Value between -1 (bottom) and 1 (top).

◆ Size

float eVision.Easy3D.TextLabel.Size
getset

The size of the text font. Value between 0 et 1.

◆ Text

string eVision.Easy3D.TextLabel.Text
getset

The text of the text label.