RIC elements

 

Rectangle

 

The RIC element Rectangle draw a rectangle on the NXT screen. When the start position (lower left edge) will be within the NXT screen and the width or height leaves the visible area then the NXT will be hang up when you try to use the RIC file! Please keep in mind that the complete rectangle will be within the visible area. Alternatively you can use 4 time the RIC element line for having the same result without risk of blocking NXT!

 

 

Parameter

Function

Range

Parameter

VarMap

Copy Opt

This parameter will be ignored by the current firmware – You don’t have to set this parameter

0 - 4095

X

X

Pos X

Horizontal position of the lower left edge of the rectangle

0 - 4095

X

X

Pos Y

Vertical position of the lower left edge of the rectangle

0 - 4095

X

X

Width

Width of rectangle

0 - 4095

X

X

Height

Height of rectangle

0 - 4095

X

X

 

 

Size of element:

14 Byte

   

Hint:

With the mouse you can define the opposite edge of the rectangle. When you press the mouse button within the working area then the first edge will be defined. When you release the mouse button than the other edge will be defined. Definition of attributes of rectangle by using the mouse will the the attributes for “Pos X”, “Pos Y”, “Width” and “Height” to constant values.