Pacotemx.core
Classepublic class EdgeMetrics
HerançaEdgeMetrics Inheritance Object

The EdgeMetrics class specifies the thickness, in pixels, of the four edge regions around a visual component.

The following Flex properties have values that are EdgeMetrics objects:

These three properites all return a reference to the same EdgeMetrics object that the Container is using for its measurement and layout; they do not return a copy of this object. If you need a copy, call the clone() method.

Veja também

mx.core.Container
mx.skins.Border
mx.containers.Panel


Propriedades Públicas
 PropriedadeDefinido por
  bottom : Number
The height, in pixels, of the bottom edge region.
EdgeMetrics
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  left : Number
The width, in pixels, of the left edge region.
EdgeMetrics
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  right : Number
The width, in pixels, of the right edge region.
EdgeMetrics
  top : Number
The height, in pixels, of the top edge region.
EdgeMetrics
Métodos Públicos
 MétodoDefinido por
  
EdgeMetrics(left:Number = 0, top:Number = 0, right:Number = 0, bottom:Number = 0)
Constructor.
EdgeMetrics
  
Returns a copy of this EdgeMetrics object.
EdgeMetrics
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constantes públicas
 ConstanteDefinido por
  EMPTY : EdgeMetrics
[static] An EdgeMetrics object with a value of zero for its left, top, right, and bottom properties.
EdgeMetrics
Detalhes da propriedade
bottompropriedade
public var bottom:Number

The height, in pixels, of the bottom edge region.

leftpropriedade 
public var left:Number

The width, in pixels, of the left edge region.

rightpropriedade 
public var right:Number

The width, in pixels, of the right edge region.

toppropriedade 
public var top:Number

The height, in pixels, of the top edge region.

Detalhes do construtor
EdgeMetrics()Construtor
public function EdgeMetrics(left:Number = 0, top:Number = 0, right:Number = 0, bottom:Number = 0)

Constructor.

Parâmetros
left:Number (default = 0) — The width, in pixels, of the left edge region.
 
top:Number (default = 0) — The height, in pixels, of the top edge region.
 
right:Number (default = 0) — The width, in pixels, of the right edge region.
 
bottom:Number (default = 0) — The height, in pixels, of the bottom edge region.
Detalhes do método
clone()método
public function clone():EdgeMetrics

Returns a copy of this EdgeMetrics object.

Retorna
EdgeMetrics
Detalhes da constante
EMPTYConstante
public static const EMPTY:EdgeMetrics

An EdgeMetrics object with a value of zero for its left, top, right, and bottom properties.