| Pakiet | mx.core |
| Interfejs | public interface IBorder |
| Implementory | Border, MovieClipAsset, SpriteAsset, TextInputBorderSkin |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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.
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
| borderMetrics : EdgeMetrics [tylko do odczytu]
Returns an EdgeMetrics object for the border that has four properties:
left, top, right,
and bottom. | IBorder | ||
borderMetrics | właściwość |
borderMetrics:EdgeMetrics [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Flex 3 |
| Wersje środowiska wykonawczego: | 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.
Implementacja
public function get borderMetrics():EdgeMetricsTue Jun 12 2018, 12:06 PM Z