figureone
    Preparing search index...

    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.

    • width number — rectangle width
    • height number — rectangle height
    • xAlign number | left | right | center — horiztonal alignment of the rectangle
    • yAlign number | top | bottom | middle — vertical alignment of the rectangle
    • line OBJ_LineStyleSimple — lines style - leave empty if only want fill
    • fill TypeColor | OBJ_Texture — fill color or texture
    • corner OBJ_CurvedCorner — corner style of rectangle
    • label OBJ_FormattedText — Rectangle label
    • button boolean | TypeColor | OBJ_ButtonColortrue to make the rectangle behave like a button when clicked. TypeColor to make fill, line and label the same color when clicked or OBJ_ButtonColor to specify click colors for each (false)