Rectangle

This component displays a possibly filled rectangle.

This is what a rectangle component looks like:

Common Properties

Width, Height, Bindings, Enabled, Visible, Foreground, Background, Opaque, Border, Font, Cursor, Tooltip, Popup Menu

Custom Properties

Stroke

A stroke used to draw the rectangle.

Property name: stroke

Property type: Data Table

Arc Width

A width of rectangle's corner arc.

Property name: arcWidth

Property type: Float

Arc Height

A height of rectangle's corner arc.

Property name: arcHeight

Property type: Float

Common Events

Hidden, Shown, Moved, Resized, Mouse Clicked, Mouse Pressed, Mouse Released, Mouse Entered, Mouse Exited, Mouse Moved, Mouse Wheel Moved, Key Typed, Key Pressed, Key Released, Focus Gained, Focus Lost

Was this page helpful?