| 패키지 | mx.core | 
| 클래스 | public class EdgeMetrics | 
| 상속 | EdgeMetrics    Object | 
| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
The following Flex properties have values that are EdgeMetrics objects:
- The 
borderMetricsproperty of the mx.core.Container and mx.skins.Border classes includes only the border in the calculations of the property values of the EdgeMetrics object. - The 
viewMetricsproperty of the mx.core.Container class, and of subclasses of the Container class, includes possible scrollbars and non-content elements -- such as a Panel container's header area and the area for a ControlBar component -- in the calculations of the property values of the EdgeMetrics object. - The 
viewMetricsAndPaddingproperty of the mx.core.Container class includes the items listed for theviewMetricsproperty, plus the any areas defined by the margins of the container in the calculations of the property values of the EdgeMetrics object. 
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.
관련 API 요소
| 속성 | 정의 주체 | ||
|---|---|---|---|
| bottom : Number 
      The height, in pixels, of the bottom edge region.  | EdgeMetrics | ||
![]()  | constructor : Object 
	 지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다.  | Object | |
| left : Number 
      The width, in pixels, of the left edge region.  | EdgeMetrics | ||
| right : Number 
      The width, in pixels, of the right edge region.  | EdgeMetrics | ||
| top : Number 
      The height, in pixels, of the top edge region.  | EdgeMetrics | ||
| 메서드 | 정의 주체 | ||
|---|---|---|---|
      Constructor.  | EdgeMetrics | ||
      Returns a copy of this EdgeMetrics object.  | EdgeMetrics | ||
![]()  | 
	 지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.  | Object | |
![]()  | 
	 Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.  | Object | |
![]()  | 
	 지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.  | Object | |
![]()  | 
     루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.  | Object | |
![]()  | 
	 로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다.  | Object | |
![]()  | 
	 지정된 객체의 문자열 표현을 반환합니다.  | Object | |
![]()  | 
	 지정된 객체의 프리미티브 값을 반환합니다.  | Object | |
| 상수 | 정의 주체 | ||
|---|---|---|---|
| EMPTY : EdgeMetrics [정적] 
      An EdgeMetrics object with a value of zero for its
      left, top, right,
      and bottom properties.  | EdgeMetrics | ||
bottom | 속성 | 
public var bottom:Number| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
The height, in pixels, of the bottom edge region.
left | 속성 | 
public var left:Number| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
The width, in pixels, of the left edge region.
right | 속성 | 
public var right:Number| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
The width, in pixels, of the right edge region.
top | 속성 | 
public var top:Number| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
The height, in pixels, of the top edge region.
EdgeMetrics | () | 생성자 | 
public function EdgeMetrics(left:Number = 0, top:Number = 0, right:Number = 0, bottom:Number = 0)| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
Constructor.
매개 변수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.
      
       | 
clone | () | 메서드 | 
 public function clone():EdgeMetrics| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
Returns a copy of this EdgeMetrics object.
반환값EdgeMetrics — A copy of this EdgeMetrics object.
      
       | 
EMPTY | 상수 | 
public static const EMPTY:EdgeMetrics| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
      An EdgeMetrics object with a value of zero for its
      left, top, right,
      and bottom properties.
      
      
Tue Jun 12 2018, 03:17 PM Z
 
 상속되는 공용 속성 숨기기
 상속되는 공용 속성 표시