Pakiet | org.osmf.layout |
Klasa | public final class ScaleMode |
Dziedziczenie | ScaleMode Object |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | OSMF 1.0 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
Stała | Zdefiniowane przez | ||
---|---|---|---|
LETTERBOX : String = "letterbox" [statyczny]
LETTERBOX sets the width and height of the content as close to the container width and height
as possible while maintaining aspect ratio. | ScaleMode | ||
NONE : String = "none" [statyczny]
NONE implies that the media size is set to match its intrinsic size. | ScaleMode | ||
STRETCH : String = "stretch" [statyczny]
STRETCH sets the width and the height of the content to the
container width and height, possibly changing the content aspect ratio. | ScaleMode | ||
ZOOM : String = "zoom" [statyczny]
ZOOM is similar to LETTERBOX, except that ZOOM stretches the
content past the bounds of the container, to remove the spacing required to maintain aspect ratio. | ScaleMode |
LETTERBOX | Stała |
public static const LETTERBOX:String = "letterbox"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | OSMF 1.0 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
LETTERBOX
sets the width and height of the content as close to the container width and height
as possible while maintaining aspect ratio. The content is stretched to a maximum of the container bounds,
with spacing added inside the container to maintain the aspect ratio if necessary.
NONE | Stała |
public static const NONE:String = "none"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | OSMF 1.0 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
NONE
implies that the media size is set to match its intrinsic size.
STRETCH | Stała |
public static const STRETCH:String = "stretch"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | OSMF 1.0 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
STRETCH
sets the width and the height of the content to the
container width and height, possibly changing the content aspect ratio.
ZOOM | Stała |
public static const ZOOM:String = "zoom"
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | OSMF 1.0 |
Wersje środowiska wykonawczego: | Flash Player 10, AIR 1.5 |
ZOOM
is similar to LETTERBOX
, except that ZOOM
stretches the
content past the bounds of the container, to remove the spacing required to maintain aspect ratio.
This has the effect of using the entire bounds of the container, but also possibly cropping some content.
Tue Jun 12 2018, 12:06 PM Z