A class representing a text label that can be displayed using eVision.Easy3D.E3DViewer. More...
Public Member Functions | |
| None | __init__ (self, eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, str text, bool displayAnchor, eVision.EC24A backgroundColor, eVision.Easy3D.ETextLabelAlignment alignment) |
| Constructs a text label. | |
| None | __init__ (self, eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, str text, bool displayAnchor, eVision.EC24A backgroundColor) |
| Constructs a text label. | |
| None | __init__ (self, eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, str text, bool displayAnchor) |
| Constructs a text label. | |
| None | __init__ (self, eVision.Easy3D.E3DPoint anchor, float posX, float posY, eVision.EC24 color, float size, str text) |
| Constructs a text label. | |
| None | __init__ (self, eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, str text, bool fixLabelPosition, bool displayAnchor, eVision.EC24A backgroundColor, eVision.Easy3D.ETextLabelAlignment alignment) |
| Constructs a text label. | |
| None | __init__ (self, eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, str text, bool fixLabelPosition, bool displayAnchor, eVision.EC24A backgroundColor) |
| Constructs a text label. | |
| None | __init__ (self, eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, str text, bool fixLabelPosition, bool displayAnchor) |
| Constructs a text label. | |
| None | __init__ (self, eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, str text, bool fixLabelPosition) |
| Constructs a text label. | |
| None | __init__ (self, eVision.Easy3D.E3DPoint anchor, eVision.EC24 color, float size, str text) |
| Constructs a text label. | |
| None | __init__ (self, float posX, float posY, eVision.EC24 color, float size, str text, eVision.EC24A backgroundColor, eVision.Easy3D.ETextLabelAlignment alignment) |
| Constructs a text label. | |
| None | __init__ (self, float posX, float posY, eVision.EC24 color, float size, str text, eVision.EC24A backgroundColor) |
| Constructs a text label. | |
| None | __init__ (self, float posX, float posY, eVision.EC24 color, float size, str text) |
| Constructs a text label. | |
| None | __init__ (self, eVision.Easy3D.TextLabel other) |
| Constructs a text label. | |
Properties | |
| Anchor = property(_Anchor__getter, _Anchor__setter) | |
| The eVision.Easy3D.E3DPoint linked to the text label. | |
| PosX = property(_PosX__getter, _PosX__setter) | |
| The x coordinate of the text box. | |
| PosY = property(_PosY__getter, _PosY__setter) | |
| The y coordinate of the text box. | |
| Color = property(_Color__getter, _Color__setter) | |
| The color of the text label. | |
| Size = property(_Size__getter, _Size__setter) | |
| The size of the text font. | |
| Text = property(_Text__getter, _Text__setter) | |
| The text of the text label. | |
| DisplayAnchor = property(_DisplayAnchor__getter, _DisplayAnchor__setter) | |
| If set to true, a line is drawn between the anchor and the label. | |
| Fixed = property(_Fixed__getter, _Fixed__setter) | |
| If set to true, the label stays fixed when the view changes. | |
| BackgroundColor = property(_BackgroundColor__getter, _BackgroundColor__setter) | |
| The background of the label is set to this color. | |
| Alignment = property(_Alignment__getter, _Alignment__setter) | |
| The alignment of the label. | |
A class representing a text label that can be displayed using eVision.Easy3D.E3DViewer.
Remarks:
License(s): Easy3D
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | anchor, | ||
| float | posX, | ||
| float | posY, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text, | ||
| bool | displayAnchor, | ||
| eVision.EC24A | backgroundColor, | ||
| eVision.Easy3D.ETextLabelAlignment | alignment ) |
Constructs a text label.
| anchor | The eVision.Easy3D.E3DPoint linked to the text label. |
| posX | The x coordinate of the text box. Value between -1 (left) and 1 (right). |
| posY | The y coordinate of the text box. Value between -1 (bottom) and 1 (top). |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| displayAnchor | If set to true, a line is drawn between the anchor and the label (default: true). |
| backgroundColor | If specified, the background of the label is set to this color (default: black). |
| alignment | The alignment of the label. (Defaults to FromPosition.) |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | anchor, | ||
| float | posX, | ||
| float | posY, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text, | ||
| bool | displayAnchor, | ||
| eVision.EC24A | backgroundColor ) |
Constructs a text label.
| anchor | The eVision.Easy3D.E3DPoint linked to the text label. |
| posX | The x coordinate of the text box. Value between -1 (left) and 1 (right). |
| posY | The y coordinate of the text box. Value between -1 (bottom) and 1 (top). |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| displayAnchor | If set to true, a line is drawn between the anchor and the label (default: true). |
| backgroundColor | If specified, the background of the label is set to this color (default: black). |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | anchor, | ||
| float | posX, | ||
| float | posY, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text, | ||
| bool | displayAnchor ) |
Constructs a text label.
| anchor | The eVision.Easy3D.E3DPoint linked to the text label. |
| posX | The x coordinate of the text box. Value between -1 (left) and 1 (right). |
| posY | The y coordinate of the text box. Value between -1 (bottom) and 1 (top). |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| displayAnchor | If set to true, a line is drawn between the anchor and the label (default: true). |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | anchor, | ||
| float | posX, | ||
| float | posY, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text ) |
Constructs a text label.
| anchor | The eVision.Easy3D.E3DPoint linked to the text label. |
| posX | The x coordinate of the text box. Value between -1 (left) and 1 (right). |
| posY | The y coordinate of the text box. Value between -1 (bottom) and 1 (top). |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | anchor, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text, | ||
| bool | fixLabelPosition, | ||
| bool | displayAnchor, | ||
| eVision.EC24A | backgroundColor, | ||
| eVision.Easy3D.ETextLabelAlignment | alignment ) |
Constructs a text label.
| anchor | The eVision.Easy3D.E3DPoint linked to the text label. |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| fixLabelPosition | If set to true, the label stays fixed when the view changes (default: false). |
| displayAnchor | If set to true, a line is drawn between the anchor and the label (default: true). |
| backgroundColor | If specified, the background of the label is set to this color (default: black). |
| alignment | The alignment of the label. (Defaults to FromPosition.) |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | anchor, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text, | ||
| bool | fixLabelPosition, | ||
| bool | displayAnchor, | ||
| eVision.EC24A | backgroundColor ) |
Constructs a text label.
| anchor | The eVision.Easy3D.E3DPoint linked to the text label. |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| fixLabelPosition | If set to true, the label stays fixed when the view changes (default: false). |
| displayAnchor | If set to true, a line is drawn between the anchor and the label (default: true). |
| backgroundColor | If specified, the background of the label is set to this color (default: black). |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | anchor, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text, | ||
| bool | fixLabelPosition, | ||
| bool | displayAnchor ) |
Constructs a text label.
| anchor | The eVision.Easy3D.E3DPoint linked to the text label. |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| fixLabelPosition | If set to true, the label stays fixed when the view changes (default: false). |
| displayAnchor | If set to true, a line is drawn between the anchor and the label (default: true). |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | anchor, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text, | ||
| bool | fixLabelPosition ) |
Constructs a text label.
| anchor | The eVision.Easy3D.E3DPoint linked to the text label. |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| fixLabelPosition | If set to true, the label stays fixed when the view changes (default: false). |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| eVision.Easy3D.E3DPoint | anchor, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text ) |
Constructs a text label.
| anchor | The eVision.Easy3D.E3DPoint linked to the text label. |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| float | posX, | ||
| float | posY, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text, | ||
| eVision.EC24A | backgroundColor, | ||
| eVision.Easy3D.ETextLabelAlignment | alignment ) |
Constructs a text label.
| posX | The x coordinate of the text box. Value between -1 (left) and 1 (right). |
| posY | The y coordinate of the text box. Value between -1 (bottom) and 1 (top). |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| backgroundColor | If specified, the background of the label is set to this color (default: black). |
| alignment | The alignment of the label. (Defaults to FromPosition.) |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| float | posX, | ||
| float | posY, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text, | ||
| eVision.EC24A | backgroundColor ) |
Constructs a text label.
| posX | The x coordinate of the text box. Value between -1 (left) and 1 (right). |
| posY | The y coordinate of the text box. Value between -1 (bottom) and 1 (top). |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| backgroundColor | If specified, the background of the label is set to this color (default: black). |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| float | posX, | ||
| float | posY, | ||
| eVision.EC24 | color, | ||
| float | size, | ||
| str | text ) |
Constructs a text label.
| posX | The x coordinate of the text box. Value between -1 (left) and 1 (right). |
| posY | The y coordinate of the text box. Value between -1 (bottom) and 1 (top). |
| color | The color of the text label. |
| size | The size of the text font. Value between 0 et 1. |
| text | The text of the text label. |
| None eVision.Easy3D.TextLabel.__init__ | ( | self, | |
| eVision.Easy3D.TextLabel | other ) |
Constructs a text label.
| other | The other eVision.Easy3D.TextLabel that we will copy into this one. |
|
static |
The alignment of the label.
|
static |
The eVision.Easy3D.E3DPoint linked to the text label.
|
static |
The background of the label is set to this color.
|
static |
The color of the text label.
|
static |
If set to true, a line is drawn between the anchor and the label.
|
static |
If set to true, the label stays fixed when the view changes.
|
static |
The x coordinate of the text box.
Value between -1 (left) and 1 (right).
|
static |
The y coordinate of the text box.
Value between -1 (bottom) and 1 (top).
|
static |
The size of the text font.
Value between 0 et 1.
|
static |
The text of the text label.