Inherits: TextPosition < DesignItem < ScriptObject
Inherited by: AttributePosition, Error, Text
The text position class is the base class for text-based items in a design.
Properties
| Name | Type | Get/Set | Brief |
|---|---|---|---|
| Angle | float | Yes/Yes | The angle of this item in degrees. |
| HorizontalAlignment | HorizontalAlignment | Yes/Yes | The horizontal alignment of this text. |
| Layer | Variant[Layer, none] | Yes/Yes | No description provided. |
| Mirrored | bool | Yes/Yes | Whether this text is mirrored. |
| Position | Point | Yes/Yes | No description provided. |
| Style | TextStyle | Yes/Yes | The text style of this text. |
| TextStyle | TextStyle | Yes/Yes | The text style of this text. |
| VerticalAlignment | VerticalAlignment | Yes/Yes | The vertical alignment of this text. |
Enumerations
HorizontalAlignment
| Name | Value | Description |
|---|---|---|
| Left | 0 | No description provided. |
| Centre | 1 | No description provided. |
| Right | 2 | No description provided. |
VerticalAlignment
| Name | Value | Description |
|---|---|---|
| Bottom | 0 | No description provided. |
| Middle | 1 | No description provided. |
| Top | 2 | No description provided. |
Property Details
Angle
Type: float
The angle of this item in degrees.
HorizontalAlignment
Type: HorizontalAlignment
The horizontal alignment of this text.
Layer
Type: Variant[Layer, none]
Mirrored
Type: bool
Whether this text is mirrored.
Position
Type: Point
Style
Type: TextStyle
The text style of this text.
TextStyle
Type: TextStyle
The text style of this text.
VerticalAlignment
Type: VerticalAlignment
The vertical alignment of this text.