Packagetwaver
Classpublic class Size
InheritanceSize Inheritance Object

This class defines a size information for a bounds rectangle. This class only contains with and height values for the rectangle.



Public Properties
 PropertyDefined By
  height : Number = 0
The height value of this size.
Size
  width : Number = 0
The width value of this size.
Size
Public Methods
 MethodDefined By
  
Size(width:Number = 0, height:Number = 0)
Constructor of this size.
Size
Property Detail
heightproperty
public var height:Number = 0

The height value of this size.

widthproperty 
public var width:Number = 0

The width value of this size.

Constructor Detail
Size()Constructor
public function Size(width:Number = 0, height:Number = 0)

Constructor of this size. Create a size with specified width and height value.

Parameters
width:Number (default = 0) — the width value of this size.
 
height:Number (default = 0) — the height value of this size.