CollectionsRectangle options object that extends OBJ_Collection options object (without parent).
parent
This rectangle is similar to OBJ_Rectangle, except it can accomodate both a fill and a border or line simultaneously with different colors.
width
number
height
xAlign
left
right
center
yAlign
top
bottom
middle
line
fill
corner
label
button
boolean
true
TypeColor
OBJ_ButtonColor
false
CollectionsRectangle options object that extends OBJ_Collection options object (without
parent).This rectangle is similar to OBJ_Rectangle, except it can accomodate both a fill and a border or line simultaneously with different colors.
widthnumber— rectangle widthheightnumber— rectangle heightxAlignnumber|left|right|center— horiztonal alignment of the rectangleyAlignnumber|top|bottom|middle— vertical alignment of the rectanglelineOBJ_LineStyleSimple — lines style - leave empty if only want fillfillTypeColor | OBJ_Texture — fill color or texturecornerOBJ_CurvedCorner — corner style of rectanglelabelOBJ_FormattedText — Rectangle labelbuttonboolean| TypeColor | OBJ_ButtonColor —trueto make the rectangle behave like a button when clicked.TypeColorto make fill, line and label the same color when clicked orOBJ_ButtonColorto specify click colors for each (false)