Raptor:Display Draw Rectangle: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
(Created page with 'Return to the main Raptor page Return to Drawing Functions page [[File:RaptorDisplayDrawRectangle.png|right|frame|Raptor™ …')
 
 
(2 intermediate revisions by the same user not shown)
Line 37: Line 37:
! Color
! Color
| uint16
| uint16
| Optional port to specify color of arc.
| Optional port to specify color of rectangle.
|-
|-
! Opacity
! Opacity
Line 74: Line 74:
|  
|  
| This button opens the color chooser tool.
| 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
! Layer
Line 83: Line 95:
| Indicates whether the previous and next ports are shown.
| Indicates whether the previous and next ports are shown.
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

Latest revision as of 13:23, 7 July 2014

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.