Raptor:Display Fill Polygon
Return to the main Raptor page
Return to Drawing Functions page
Description
This block draws a filled 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. |