Raptor:Display Draw Text: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Return to the main Raptor page Return to Drawing Functions page [[File:RaptorDisplayDrawText.png|right|frame|Raptor™ Displ…') |
|||
(One intermediate revision by the same user not shown) | |||
Line 28: | Line 28: | ||
|- | |- | ||
! Text | ! Text | ||
| | | String | ||
| Optional port to specify text to draw. | | Optional port to specify text to draw. | ||
|- | |- | ||
Line 111: | Line 111: | ||
| Indicates whether the previous and next ports are shown. | | Indicates whether the previous and next ports are shown. | ||
|} | |} | ||
Latest revision as of 13:24, 7 July 2014
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. |