Adobe® Flash® Platform용 ActionScript® 3.0 참조 설명서
 |  패키지 및 클래스 목록 숨기기 |  패키지  |  클래스  |  새로운 내용  |  색인  |  부록  |  영어로 표시되는 이유
필터: 서버에서 데이터를 검색하는 중...
서버에서 데이터를 검색하는 중...
mx.graphics 

BitmapFill  - AS3 Flex

패키지mx.graphics
클래스public class BitmapFill
상속BitmapFill Inheritance EventDispatcher Inheritance Object
구현 IFill

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Defines a set of values used to fill an area on screen with a bitmap or other DisplayObject.

기타 예제

관련 API 요소



공용 속성
 속성정의 주체
  alpha : Number
The transparency of a fill.
BitmapFill
 Inheritedconstructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다.
Object
  fillMode : String
Determines how the bitmap fills in the dimensions.
BitmapFill
  matrix : Matrix
An array of values used for matrix transformation.
BitmapFill
  offsetX : Number
버전부터 사용되지 않음 4.0: 사용 x
How far the bitmap is horizontally offset from the origin.
BitmapFill
  offsetY : Number
버전부터 사용되지 않음 4.0: 사용 y
How far the bitmap is vertically offset from the origin.
BitmapFill
  originX : Number
버전부터 사용되지 않음 4.0: 사용 transformX
The horizontal origin for the bitmap fill.
BitmapFill
  originY : Number
버전부터 사용되지 않음 4.0: 사용 transformY
The vertical origin for the bitmap fill.
BitmapFill
  repeat : Boolean
버전부터 사용되지 않음 4.0: 사용 fillMode
Whether the bitmap is repeated to fill the area.
BitmapFill
  rotation : Number
The number of degrees to rotate the bitmap.
BitmapFill
  scaleX : Number
The percent to horizontally scale the bitmap when filling, from 0.0 to 1.0.
BitmapFill
  scaleY : Number
The percent to vertically scale the bitmap when filling, from 0.0 to 1.0.
BitmapFill
  smooth : Boolean
A flag indicating whether to smooth the bitmap data when filling with it.
BitmapFill
  source : Object
The source used for the bitmap fill.
BitmapFill
  transformX : Number
The x position transform point of the fill.
BitmapFill
  transformY : Number
The y position transform point of the fill.
BitmapFill
  x : Number
The distance by which to translate each point along the x axis.
BitmapFill
  y : Number
The distance by which to translate each point along the y axis.
BitmapFill
보호 속성
 속성정의 주체
  compoundTransform : mx.geom:CompoundTransform
Holds the matrix and the convenience transform properties (x, y, and rotation).
BitmapFill
공용 메서드
 메서드정의 주체
  
Constructor.
BitmapFill
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다.
EventDispatcher
 Inherited
이벤트를 이벤트 흐름으로 전달합니다.
EventDispatcher
 Inherited
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다.
EventDispatcher
 Inherited
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.
Object
 Inherited
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.
Object
 Inherited
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher 객체에서 리스너를 제거합니다.
EventDispatcher
 Inherited
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.
Object
 Inherited
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다.
Object
 Inherited
지정된 객체의 문자열 표현을 반환합니다.
Object
 Inherited
지정된 객체의 프리미티브 값을 반환합니다.
Object
 Inherited
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다.
EventDispatcher
이벤트
 이벤트 요약 정의 주체
 Inherited[브로드캐스트 이벤트] Flash Player 또는 AIR 응용 프로그램이 운영 체제 포커스를 얻어 활성화될 때 전달됩니다.EventDispatcher
 Inherited[브로드캐스트 이벤트] Flash Player 또는 AIR 응용 프로그램이 운영 체제 포커스를 잃고 비활성화될 때 전달됩니다.EventDispatcher
속성 세부 정보

alpha

속성
alpha:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The transparency of a fill. Possible values are 0.0 (invisible) through 1.0 (opaque).

기본값: 1.0..



구현
    public function get alpha():Number
    public function set alpha(value:Number):void

compoundTransform

속성 
protected var compoundTransform:mx.geom:CompoundTransform

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Holds the matrix and the convenience transform properties (x, y, and rotation). The compoundTransform is only created when the matrix property is set.

fillMode

속성 
fillMode:String

언어 버전: ActionScript 3.0
제품 버전: Flex 4
런타임 버전: Flash Player 10, AIR 1.5

Determines how the bitmap fills in the dimensions. If you set the value of this property in a tag, use the string (such as "repeat"). If you set the value of this property in ActionScript, use the constant (such as BitmapFillMode.CLIP). When set to BitmapFillMode.CLIP ("clip"), the bitmap ends at the edge of the region. When set to BitmapFillMode.REPEAT ("repeat"), the bitmap repeats to fill the region. When set to BitmapFillMode.SCALE ("scale"), the bitmap stretches to fill the region.

기본값: BitmapFillMode.SCALE.



구현
    public function get fillMode():String
    public function set fillMode(value:String):void

matrix

속성 
matrix:Matrix

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

An array of values used for matrix transformation.



구현
    public function get matrix():Matrix
    public function set matrix(value:Matrix):void

offsetX

속성 
offsetX:Number
버전부터 사용되지 않음 4.0: 사용 x

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

How far the bitmap is horizontally offset from the origin. This adjustment is performed after rotation and scaling.

기본값: 0.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get offsetX():Number
    public function set offsetX(value:Number):void

offsetY

속성 
offsetY:Number
버전부터 사용되지 않음 4.0: 사용 y

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

How far the bitmap is vertically offset from the origin. This adjustment is performed after rotation and scaling.

기본값: 0.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get offsetY():Number
    public function set offsetY(value:Number):void

originX

속성 
originX:Number
버전부터 사용되지 않음 4.0: 사용 transformX

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The horizontal origin for the bitmap fill. The bitmap fill is offset so that this point appears at the origin. Scaling and rotation of the bitmap are performed around this point.

기본값: 0.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get originX():Number
    public function set originX(value:Number):void

originY

속성 
originY:Number
버전부터 사용되지 않음 4.0: 사용 transformY

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The vertical origin for the bitmap fill. The bitmap fill is offset so that this point appears at the origin. Scaling and rotation of the bitmap are performed around this point.

기본값: 0.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get originY():Number
    public function set originY(value:Number):void

repeat

속성 
repeat:Boolean
버전부터 사용되지 않음 4.0: 사용 fillMode

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Whether the bitmap is repeated to fill the area. Set to true to cause the fill to tile outward to the edges of the filled region. Set to false to end the fill at the edge of the region.

기본값: true.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get repeat():Boolean
    public function set repeat(value:Boolean):void

rotation

속성 
rotation:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The number of degrees to rotate the bitmap. Valid values range from 0.0 to 360.0.

기본값: 0.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get rotation():Number
    public function set rotation(value:Number):void

scaleX

속성 
scaleX:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The percent to horizontally scale the bitmap when filling, from 0.0 to 1.0. If 1.0, the bitmap is filled at its natural size.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get scaleX():Number
    public function set scaleX(value:Number):void

scaleY

속성 
scaleY:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The percent to vertically scale the bitmap when filling, from 0.0 to 1.0. If 1.0, the bitmap is filled at its natural size.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get scaleY():Number
    public function set scaleY(value:Number):void

smooth

속성 
smooth:Boolean

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

A flag indicating whether to smooth the bitmap data when filling with it.

기본값: false.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get smooth():Boolean
    public function set smooth(value:Boolean):void

source

속성 
source:Object

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The source used for the bitmap fill. The fill can render from various graphical sources, including the following:

  • A Bitmap or BitmapData instance.
  • A class representing a subclass of DisplayObject. The BitmapFill instantiates the class and creates a bitmap rendering of it.
  • An instance of a DisplayObject. The BitmapFill copies it into a Bitmap for filling.

기본값: null.



구현
    public function get source():Object
    public function set source(value:Object):void

transformX

속성 
transformX:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The x position transform point of the fill.



구현
    public function get transformX():Number
    public function set transformX(value:Number):void

transformY

속성 
transformY:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The y position transform point of the fill.



구현
    public function get transformY():Number
    public function set transformY(value:Number):void

x

속성 
x:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The distance by which to translate each point along the x axis.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get x():Number
    public function set x(value:Number):void

y

속성 
y:Number

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

The distance by which to translate each point along the y axis.

이 속성은 데이터 바인딩에 대한 소스로 사용할 수 있습니다. 이 속성을 수정하면 propertyChange 이벤트를 전달합니다.



구현
    public function get y():Number
    public function set y(value:Number):void
생성자 세부 정보

BitmapFill

()생성자
public function BitmapFill()

언어 버전: ActionScript 3.0
제품 버전: Flex 3
런타임 버전: Flash Player 9, AIR 1.1

Constructor.





[ X ]영어로 표시되는 이유
ActionScript 3.0 참조 설명서의 내용이 영어로 나타납니다.

ActionScript 3.0 참조 설명서 중 일부는 전체 언어로 번역되지 않았습니다. 언어 요소가 번역되지 않은 경우 영어로 나타납니다. 예를 들어 ga.controls.HelpBox 클래스는 어떤 언어로도 번역되지 않았습니다. 그러므로 한국어 버전의 참조 설명서에서 ga.controls.HelpBox 클래스는 영어로 나타납니다.