| Method | Defined by | ||
|---|---|---|---|
|
Size(w:int = 0, h:int = 0)
Constructs a MQSize object.
| Size | ||
|
getHeight():int
Gets the height of the size object.
| Size | ||
|
getWidth():int
Gets the width of the size object.
| Size | ||
|
setHeight(h:int):void
Sets the height of the size object.
| Size | ||
|
setWidth(w:int):void
Sets the width of the size object.
| Size | ||
|
toString():String
Returns a string representation of this
MQSize. | Size | ||
| height | property |
public var height:int
| width | property |
public var width:int
| Size | () | constructor |
public function Size(w:int = 0, h:int = 0)Constructs a MQSize object. Default is (0,0).
Parametersw:int (default = 0) — w width dimension.
|
|
h:int (default = 0) — h height dimension.
|
| getHeight | () | method |
public function getHeight():intGets the height of the size object.
Returnsint |
| getWidth | () | method |
public function getWidth():intGets the width of the size object.
Returnsint |
| setHeight | () | method |
public function setHeight(h:int):voidSets the height of the size object.
Parametersh:int — h height dimension.
|
| setWidth | () | method |
public function setWidth(w:int):voidSets the width of the size object.
Parametersw:int — w width dimension.
|
| toString | () | method |
public function toString():String
Returns a string representation of this MQSize.
The format is "width,height".
String |