| Package | qnx.fuse.ui.geom |
| Class | public class EdgeMetrics |
| Inheritance | EdgeMetrics Object |
EdgeMetrics class returns the actual left, top, right, and bottom scale-9 values of the current skin state. The
EgdeMetrics class differs from the Flash scale9Grid property, in that an EgdeMetrics object returns
the scaled edge values of the skin.
See also
| Property | Defined By | ||
|---|---|---|---|
| bottom : Number
The bottom edge value. | EdgeMetrics | ||
| left : Number
The left edge value. | EdgeMetrics | ||
| right : Number
The right edge value. | EdgeMetrics | ||
| top : Number
The top edge value. | EdgeMetrics | ||
| Method | Defined By | ||
|---|---|---|---|
EdgeMetrics(left:Number = 0, top:Number = 0, right:Number = 0, bottom:Number = 0)
Creates an EdgeMetrics instance. | EdgeMetrics | ||
Creates a clone of this EdgeMetrics instance. | EdgeMetrics | ||
toString():String
Returns a String representation of this EdgeMetrics instance. | EdgeMetrics | ||
| bottom | property |
public var bottom:NumberThe bottom edge value.
| left | property |
public var left:NumberThe left edge value.
| right | property |
public var right:NumberThe right edge value.
| top | property |
public var top:NumberThe top edge value.
| EdgeMetrics | () | Constructor |
public function EdgeMetrics(left:Number = 0, top:Number = 0, right:Number = 0, bottom:Number = 0)
Creates an EdgeMetrics instance.
left:Number (default = 0) — The left edge of the skin.
| |
top:Number (default = 0) — The top edge of the skin.
| |
right:Number (default = 0) — The right edge of the skin.
| |
bottom:Number (default = 0) — The bottom edge of the skin.
|
| clone | () | method |
public function clone():EdgeMetrics
Creates a clone of this EdgeMetrics instance. The new instance contains the same data.
EdgeMetrics — The cloned EdgeMetrics instance.
|
| toString | () | method |
public function toString():String
Returns a String representation of this EdgeMetrics instance.
String |