Raptor:Display Draw Image
Return to the main Raptor page
Return to Drawing Functions page
Description
This block draws an image on the screen.
Inputs
Input | Type | Description |
---|---|---|
Previous | boolean | Optional port used for enforcing the execution order of blocks. |
x | int32 | X position of center of circle. |
y | int32 | Y position of center of circle. |
Image | image | Image to draw. |
ImageX1 | int32 | Optional port used to specify left side of image subset. |
ImageY1 | int32 | Optional port used to specify top side of image subset. |
ImageX2 | int32 | Optional port used to specify right side of image subset. |
ImageY2 | int32 | Optional port used to specify bottom side of image subset. |
CenterX | int32 | Optional port used to specify X position of center of rotation. |
CenterY | int32 | Optional port used to specify Y position of center of rotation. |
Angle | int32 | Optional port used to specify the angle of rotation in degrees. |
Opacity | uint32 | Optional port to specify opacity of image. |
Outputs
Output | Type | Description |
---|---|---|
Next | boolean | Optional port used for enforcing the execution order of blocks. |
Parameters
Parameter | Type | Description |
---|---|---|
Image From Port | Specify image from input port on block. | |
Image | Specify image to draw. | |
Select Image | Opens file browser to select image file. | |
Opacity from port | Specify opacity from input port on block. | |
Opacity | Number | The opacity of the image. Valid values are 0-100 where 0 is transparent and 100 is opaque. |
Draw Mode | Drawing mode for image. | |
Alpha Color Mode | Specifies how to handle areas of the image which are the alpha color (white). | |
Layer | Indicates which layer to draw on. | |
Show Prev/Next Ports | Indicates whether the previous and next ports are shown. |