패키지 | org.osmf.layout |
클래스 | public final class ScaleMode |
상속 | ScaleMode ![]() |
언어 버전: | ActionScript 3.0 |
제품 버전: | OSMF 1.0 |
런타임 버전: | Flash Player 10, AIR 1.5 |
속성 | 정의 주체 | ||
---|---|---|---|
![]() | constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object |
메서드 | 정의 주체 | ||
---|---|---|---|
![]() |
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | |
![]() |
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | |
![]() |
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | |
![]() |
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | |
![]() |
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 프리미티브 값을 반환합니다. | Object |
상수 | 정의 주체 | ||
---|---|---|---|
LETTERBOX : String = "letterbox" [정적]
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" [정적]
NONE implies that the media size is set to match its intrinsic size. | ScaleMode | ||
STRETCH : String = "stretch" [정적]
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" [정적]
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 | 상수 |
public static const LETTERBOX:String = "letterbox"
언어 버전: | ActionScript 3.0 |
제품 버전: | OSMF 1.0 |
런타임 버전: | 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 | 상수 |
public static const NONE:String = "none"
언어 버전: | ActionScript 3.0 |
제품 버전: | OSMF 1.0 |
런타임 버전: | Flash Player 10, AIR 1.5 |
NONE
implies that the media size is set to match its intrinsic size.
STRETCH | 상수 |
public static const STRETCH:String = "stretch"
언어 버전: | ActionScript 3.0 |
제품 버전: | OSMF 1.0 |
런타임 버전: | 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 | 상수 |
public static const ZOOM:String = "zoom"
언어 버전: | ActionScript 3.0 |
제품 버전: | OSMF 1.0 |
런타임 버전: | 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, 03:17 PM Z