API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class Size

Package | org.openscales.core.basetypes
Class | public class Size

Instances of this class represent a width/height pair.

Public Properties

| Property | Defined by
--- | --- | ---
|  | h : Number | Size
|  | w : Number | Size

Public Methods

| Method | Defined by
--- | --- | ---
|  | Size(w:Number, h:Number) | Size
|  | clone():Size | Size
|  | equals(sz:Size):Boolean | Size
|  | toString():String | Size

Property detail

h | property

`h:Number` [read-write]Implementation
`public function get h():Number`
`public function set h(value:Number):void`

w | property |

`w:Number` [read-write]Implementation
`public function get w():Number`
`public function set w(value:Number):void`
Constructor detail

Size | () | constructor

`public function Size(w:Number, h:Number)`Parameters

| `w:Number`
| `h:Number`

Method detail

clone | () | method

`public function clone():Size`

Returns

| `Size`

equals | () | method |

`public function equals(sz:Size):Boolean` Parameters

| `sz:Size`

Returns

| `Boolean`

toString | () | method |

`public function toString():String`

Returns

| `String`