Raptor:Display Draw Polygon: Difference between revisions
Jump to navigation
Jump to search
(Created page with 'Return to the main Raptor page Return to Drawing Functions page [[File:RaptorDisplayDrawPolygon.png|right|frame|Raptor™ Di…') |
|||
Line 75: | Line 75: | ||
| 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 polygon on the screen.
Inputs
Input | Type | Description |
---|---|---|
Previous | boolean | Optional port used for enforcing the execution order of blocks. |
Points | single[2,*] | Matrix of vertices of the polygon. |
Color | uint16 | Optional port to specify color of polygon. |
Opacity | uint32 | Optional port to specify opacity of polygon. |
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. |
Layer | Indicates which layer to draw on. | |
Show Prev/Next Ports | Indicates whether the previous and next ports are shown. |