Rectangle Feature
Description
This feature draws the rectangle on the view.
Properties
Feature Name: This is the name of the feature, it can be changed from the default value.
x: This is the horizontal center point of the feature on the view.
y: This is the vertical center point of the feature on the view.
width: This is the width of this feature.
height: This is the height of the feature.
Orientation: This is the angle of the feature specified in degrees.
Transparency: This is the value that specifies the transparency of the feature. 0 is completely invisible and 1 is not transparent at all.
Background Color: This property fills the background color of the rectangle feature.
Background Outline Color: This property fills the background outline color of the rectangle feature.
Outline Thickness: This property specifies the thickness of the rectangle feature border.
Background Radius: This property makes the rectangle feature’s edges curved.
Events
Triggers
Key Pressed
Key Pressed: This trigger listens to the event of a key being pressed. It listens for the key that is specified in the parameter key.
Parameter
Key: Character that it’s listening for
Timer
Timer: This starts a timer and executes the actions when the time is up. You can have it run multiple times by specifying the number of runs, 0 is to keep running indefinitely.
Parameter
Duration: Duration of time before executing actions
Number Of Runs: Specifies the number of runs, 0 is to keep running indefinitely
Touch
Tap: This trigger executes its actions when the user taps on the rectangle feature.
Double Tap: This trigger executes its actions when the user double taps on the rectangle feature.
Long Press: This trigger executes its actions when the user long presses on the rectangle feature.
Pressed: This trigger executes its actions when the user has pressed down on the rectangle feature.
Released: This trigger executes its actions when the user has pressed down and released on the rectangle feature.
Gesture
Swipe: This trigger executes its actions when the user swipes on the rectangle feature
in the direction specified.
Parameter
Swipe Type: Here you can specify the direction of swipe to listen for
Global Variable: The distance of the swipe will be stored to this variable if one is specified
Drag and Drop
Is Dropped On: This trigger executes its actions when the rectangle feature is dragged and dropped on to another feature.
Parameter
Target: This specifies the other feature on which the rectangle feature has to be dropped on
Is Dragged Over: This trigger executes its actions when the rectangle feature is dragged over another feature
Parameter
Target: This specifies the other feature that the rectangle feature has to be dragged over
Actions
Print: This action calls the print function of the operating system (OS) of the device, it will print the rectangle feature the way it looks when the action is executed. For this to work the printer setting must be set up properly on the OS.
Parameter
Show settings popup: The printer setting popup of the OS can be shown before printing if selected
X:This action changes the x property of the rectangle feature to the value specified.
Parameter
x: This is the target value
Y: This action changes the y property of the rectangle feature to the value specified.
Parameter
y:This is the target value
Width: This action changes the width property of the rectangle feature to the value specified.
Parameter
Width: This is the target value
Height: This action changes the height property of this feature to the value specified
Parameter
Height: This is the target value
Rotate To: This action changes the orientation property of the rectangle feature to the value specified.
Parameter
Rotation: This is the target value
X Offset: This action changes the x property of the rectangle feature by adding the value specified.
Parameter.
x:This is the value to be added to the current value
Y Offset: This action changes the y property of the rectangle feature by adding the value specified.
Parameter
y:This is the value to be added to the current value
Width Offset: This action changes the width property of the rectangle feature by adding the value specified.
Parameter
Width: This is the value to be added to the current value
Height Offset: This action changes the height property of the rectangle feature by adding the value specified.
Parameter
Height: This is the value to be added to the current value
Rotate By: This action changes the orientation property of the rectangle feature by adding the value specified.
Parameter
Rotation Offset: This is the value to be added to the current value
Resize By Factor: This action changes the height and width of the rectangle feature by multiplying it by the specified factor.
Parameter
Factor: This is the value which the height and width will be multiplied by
Move To Front: This action moves the rectangle feature to the front of all the features that are in the view. If this feature is inside a group feature it will be moved in front of all the other features inside that group only.
Move To Back: This action moves the rectangle feature to the back of all the features that are in the view. If this feature is inside a group feature it will be moved to the back of all the other features inside that group only.
Change Transparency: This action changes the transparency of the rectangle feature by to the value specified
Parameter
Alpha: Value to change the transparency to, must be between 0 and 1
Delete Feature: This action deletes the rectangle feature from the screen.