套件 | spark.components |
類別 | public final class ResizeMode |
繼承 | ResizeMode Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | Flash Player 10, AIR 1.5 |
The component can change its own dimensions (width
and height
)
and re-layout its children appropriately (this is the default resize mode).
An alternative option for the component is to change its scale, in which case
the children don't need to change at all. This option is supported by Group
.
常數 | 定義自 | ||
---|---|---|---|
NO_SCALE : String = "noScale" [靜態]
Resizes by changing the width and height. | ResizeMode | ||
SCALE : String = "scale" [靜態]
Resizes by setting the scaleX
and scaleY properties. | ResizeMode |
NO_SCALE | 常數 |
public static const NO_SCALE:String = "noScale"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | Flash Player 10, AIR 1.5 |
Resizes by changing the width
and height
.
The component always sizes itself and then lays out its children at the actual size specified by the layout or the user.
SCALE | 常數 |
public static const SCALE:String = "scale"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4 |
執行階段版本: | Flash Player 10, AIR 1.5 |
Resizes by setting the scaleX
and scaleY
properties.
The component always sizes itself and then lays out its children at its measured size. The scale is adjusted to match the specified size by the layout or the user.
Tue Jun 12 2018, 03:47 PM Z