套件 | mx.graphics |
類別 | public final class BitmapScaleMode |
繼承 | BitmapScaleMode Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | Flash Player 10, AIR 1.5 |
fillMode
is set to mx.graphics.BitmapFillMode.SCALE
.
相關 API 元素
公用常數
常數 | 定義自 | ||
---|---|---|---|
LETTERBOX : String = "letterbox" [靜態]
The bitmap fill is scaled while maintaining the aspect
ratio of the original content. | BitmapScaleMode | ||
STRETCH : String = "stretch" [靜態]
The bitmap fill stretches to fill the region. | BitmapScaleMode | ||
ZOOM : String = "zoom" [靜態]
The bitmap fill is scaled and cropped such that the aspect
ratio of the original content is maintained and no letterbox
or pillar box is displayed. | BitmapScaleMode |
常數詳細資訊
LETTERBOX | 常數 |
public static const LETTERBOX:String = "letterbox"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | Flash Player 10, AIR 1.5 |
The bitmap fill is scaled while maintaining the aspect ratio of the original content.
STRETCH | 常數 |
public static const STRETCH:String = "stretch"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.5 |
執行階段版本: | Flash Player 10, AIR 1.5 |
The bitmap fill stretches to fill the region.
ZOOM | 常數 |
public static const ZOOM:String = "zoom"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.6 |
執行階段版本: | Flash Player 11, AIR 3 |
The bitmap fill is scaled and cropped such that the aspect ratio of the original content is maintained and no letterbox or pillar box is displayed.
Tue Jun 12 2018, 03:47 PM Z