Raptor:Display Draw Image: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 21: | Line 21: | ||
! x | ! x | ||
| int32 | | int32 | ||
| X position of | | X position of image. | ||
|- | |- | ||
! y | ! y | ||
| int32 | | int32 | ||
| Y position of | | Y position of image. | ||
|- | |- | ||
! Image | ! Image | ||
Line 119: | Line 119: | ||
| Indicates whether the previous and next ports are shown. | | Indicates whether the previous and next ports are shown. | ||
|} | |} | ||
Latest revision as of 14:30, 7 July 2014
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 image. |
y | int32 | Y position of image. |
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. |