Raptor:Display Draw Line: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 95: | Line 95: | ||
| Indicates whether the previous and next ports are shown. | | Indicates whether the previous and next ports are shown. | ||
|} | |} | ||
Latest revision as of 13:23, 7 July 2014
Return to the main Raptor page
Return to Drawing Functions page
Description
This block draws a line on the screen.
Inputs
Input | Type | Description |
---|---|---|
Previous | boolean | Optional port used for enforcing the execution order of blocks. |
x1 | int32 | X position of point 1. |
y1 | int32 | Y position of point 1. |
x2 | int32 | X position of point 2. |
y2 | int32 | Y position of point 2. |
Color | uint16 | Optional port to specify color of line. |
Opacity | uint16 | Optional port to specify opacity of line. |
Outputs
Output | Type | Description |
---|---|---|
Next | boolean | Optional port used for enforcing the execution order of blocks. |
Parameters
Parameter | Type | Description |
---|---|---|
Color From Port | Specify drawing 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. |
Line Style | The style of the line to draw. | |
Thickness | The thickness of the line being drawn. | |
Layer | Indicates which layer to draw on. | |
Show Prev/Next Ports | Indicates whether the previous and next ports are shown. |