Raptor:Display Draw Text: Difference between revisions

From NewEagleWiki
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
| 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.
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

Latest revision as of 13:24, 7 July 2014

Return to the main Raptor page

Return to Drawing Functions page

Raptor™ Display Draw Text

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.