Raptor:Display Draw Rectangle

From NewEagleWiki
Jump to navigation Jump to search

Return to the main Raptor page

Return to Drawing Functions page

Raptor™ Display Draw Rectangle

Description

This block draws a rectangle on the screen.

Inputs

Input Type Description
Previous boolean Optional port used for enforcing the execution order of blocks.
x1 int32 X position of top left point.
y1 int32 Y position of top left point.
x2 int32 X position of bottom right point.
y2 int32 Y position of bottom right point.
Color uint16 Optional port to specify color of rectangle.
Opacity uint32 Optional port to specify opacity of rectangle.

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.