| Function |
Defined By |
|
DrawMetrics()
|
[Constructor] DrawMetrics
|
Creates new DrawMetrics instance.
|
|
|
clone()
|
DrawMetrics
|
Duplicates an instance of DrawMetrics.
| |
returns : DrawMetrics
A new DrawMetrics instance identical to the cloned instance.
|
|
|
|
equals(drawMetrics)
|
DrawMetrics
|
Checks if two instances of DrawMetrics contain the same values.
| |
drawMetrics : DrawMetrics
DrawMetrics instance to compare.
|
| |
returns : bool
True when both instances contain the same values.
|
|
|
|
getHeight()
|
DrawMetrics
|
Gets the Height value in pixels, this may be fractional.
| |
returns : Number
The Height value.
|
|
|
|
getWidth()
|
DrawMetrics
|
Gets the Width value in pixels, this may be fractional.
| |
returns : Number
The Width value.
|
|
|
|
getX()
|
DrawMetrics
|
Gets the X value in pixels, this may be fractional.
| |
returns : Number
The X value.
|
|
|
|
getY()
|
DrawMetrics
|
Gets the Y value in pixels, this may be fractional.
| |
returns : Number
The Y value.
|
|
|
| Function |
Defined By |
|
DrawMetrics()
|
[Constructor] DrawMetrics
|
Creates new DrawMetrics instance.
|
|
|
clone()
|
DrawMetrics
|
Duplicates an instance of DrawMetrics.
| |
returns : DrawMetrics
A new DrawMetrics instance identical to the cloned instance.
|
|
|
|
equals(drawMetrics)
|
DrawMetrics
|
Checks if two instances of DrawMetrics contain the same values.
| |
drawMetrics : DrawMetrics
DrawMetrics instance to compare.
|
| |
returns : bool
True when both instances contain the same values.
|
|
|
|
getHeight()
|
DrawMetrics
|
Gets the Height value in pixels, this may be fractional.
| |
returns : Number
The Height value.
|
|
|
|
getWidth()
|
DrawMetrics
|
Gets the Width value in pixels, this may be fractional.
| |
returns : Number
The Width value.
|
|
|
|
getX()
|
DrawMetrics
|
Gets the X value in pixels, this may be fractional.
| |
returns : Number
The X value.
|
|
|
|
getY()
|
DrawMetrics
|
Gets the Y value in pixels, this may be fractional.
| |
returns : Number
The Y value.
|
|
|