Widget

Widget

The Widget class is the base class of all widget objects (e.g. Canvas, Container and MouseArea).

Note:

Extends

  • EventEmitter

Members

height :Number

This property holds the height of the widget.

Type:
  • Number

opacity :Number

This property holds the opacity of the widget. The valid range of opacity is from 1.0 (completely opaque) to 0.0 (completely transparent).

Type:
  • Number

rotation :Number

This property holds the rotation of the widget in degrees clockwise.

Type:
  • Number

width :Number

This property holds the width of the widget.

Type:
  • Number

x :Number

This property holds the x coordinate of the widget relative to its parent.

Type:
  • Number

y :Number

This property holds the y coordinate of the widget relative to its parent.

Type:
  • Number