패키지 | mx.core |
인터페이스 | public interface IBorder |
구현자 | Border, MovieClipAsset, SpriteAsset, TextInputBorderSkin |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
It is not an error if the border skin does not implement IBorder.
In this case, however, the container using the skin cannot determine
the border metrics of the border.
Therefore, the container places content starting at its top-left edge
(adjusted for padding, if any).
For the HaloBorder class, the borderThickness
style
usually determines the value of the borderMetrics
style.
For graphical skin classes, Flex examines the scale9Grid
property to determine the value of the borderMetrics
style.
속성 | 정의 주체 | ||
---|---|---|---|
borderMetrics : EdgeMetrics [읽기 전용]
Returns an EdgeMetrics object for the border that has four properties:
left, top, right,
and bottom. | IBorder |
borderMetrics | 속성 |
borderMetrics:EdgeMetrics
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Returns an EdgeMetrics object for the border that has four properties:
left
, top
, right
,
and bottom
.
The value of each property is equal to the thickness of one side
of the border, in pixels.
구현
public function get borderMetrics():EdgeMetrics
Tue Jun 12 2018, 03:17 PM Z