Raptor:Display Draw Text
Return to the main Raptor page
Return to Drawing Functions page
Description
This block draws text on the screen.
Inputs
Input | Type | Description |
---|---|---|
Previous | boolean | Optional port used for enforcing the execution order of blocks. |
x | int32 | X position of text. |
y | int32 | Y position of text. |
Text | string | Optional port to specify text to draw. |
Color | uint16 | Optional port to specify color of text. |
Opacity | uint32 | Optional port to specify opacity of text. |
Outputs
Output | Type | Description |
---|---|---|
Next | boolean | Optional port used for enforcing the execution order of blocks. |
Parameters
Parameter | Type | Description |
---|---|---|
Text From Port | Specify text from input port on block. | |
Text | String | Text to draw. |
Color From Port | Specify color and opacity from input port on block. | |
Color | Drawing color in hex. | |
Select Color | This button opens the color chooser tool. | |
Opacity | Number | The opacity of the color. Valid values are 0-100 where 0 is transparent and 100 is opaque. |
Font | Font to use when drawing text. | |
Height | Number | Height of text. |
Horizontal Alignment | Horizontal Alignment of text. | |
Vertical Alignment | Vertical Alignment of text. | |
Spacing | Number | Specifies the horizontal spacing of letters. 0 is standard spacing. |
Layer | Indicates which layer to draw on. | |
Show Prev/Next Ports | Indicates whether the previous and next ports are shown. |
Supported Versions
- Raptor 2013a_0.0.1 and newer