Packagejp.nium.impls
Interfacepublic interface IDisplayObject extends flash.events.IEventDispatcher
SubinterfacesIInteractiveObject
ImplementorsExBitmap, ExLoader, ExMovieClip, ExSprite

IDisplayObject インターフェイスは、対象に対して DisplayObject として必要となる機能を実装します。


Example
  



Public Properties
 PropertyDefined by
  accessibilityProperties : AccessibilityProperties
この表示オブジェクトの現在のアクセシビリティオプションです。 The current accessibility options for this display object.
IDisplayObject
  alpha : Number
指定されたオブジェクトのアルファ透明度値を示します。 Indicates the alpha transparency value of the object specified.
IDisplayObject
  blendMode : String
使用するブレンドモードを指定する BlendMode クラスの値です。 A value from the BlendMode class that specifies which blend mode to use.
IDisplayObject
  cacheAsBitmap : Boolean
true に設定されている場合、表示オブジェクトの内部ビットマップ表現が Flash Player にキャッシュされます。 If set to true, Flash Player or Adobe AIR caches an internal bitmap representation of the display object.
IDisplayObject
  filters : Array
表示オブジェクトに現在関連付けられている各フィルタオブジェクトが保存されているインデックス付きの配列です。 An indexed array that contains each filter object currently associated with the display object.
IDisplayObject
  height : Number
表示オブジェクトの高さを示します (ピクセル単位)。 Indicates the height of the display object, in pixels.
IDisplayObject
  loaderInfo : LoaderInfo
[read-only] この表示オブジェクトが属するファイルのロード情報を含む LoaderInfo オブジェクトを返します。 Returns a LoaderInfo object containing information about loading the file to which this display object belongs.
IDisplayObject
  mask : DisplayObject
呼び出し元の表示オブジェクトは、指定された mask オブジェクトによってマスクされます。 The calling display object is masked by the specified mask object.
IDisplayObject
  mouseX : Number
[read-only] マウス位置の x 座標を示します (ピクセル単位)。 Indicates the x coordinate of the mouse position, in pixels.
IDisplayObject
  mouseY : Number
[read-only] マウス位置の y 座標を示します (ピクセル単位)。 Indicates the y coordinate of the mouse position, in pixels.
IDisplayObject
  name : String
DisplayObject のインスタンス名を示します。 Indicates the instance name of the DisplayObject.
IDisplayObject
  opaqueBackground : Object
表示オブジェクトが特定の背景色で不透明であるかどうかを指定します。 Specifies whether the display object is opaque with a certain background color.
IDisplayObject
  parent : DisplayObjectContainer
[read-only] この表示オブジェクトを含む DisplayObjectContainer オブジェクトを示します。 Indicates the DisplayObjectContainer object that contains this display object.
IDisplayObject
  root : DisplayObject
[read-only] ロードされた SWF ファイル内の表示オブジェクトの場合、root プロパティはその SWF ファイルが表す表示リストのツリー構造部分の一番上にある表示オブジェクトとなります。 For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
IDisplayObject
  rotation : Number
DisplayObject インスタンスの元の位置からの回転角を度単位で示します。 Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation.
IDisplayObject
  scale9Grid : Rectangle
現在有効な拡大 / 縮小グリッドです。 The current scaling grid that is in effect.
IDisplayObject
  scaleX : Number
基準点から適用されるオブジェクトの水平スケール (percentage) を示します。 Indicates the horizontal scale (percentage) of the object as applied from the registration point.
IDisplayObject
  scaleY : Number
オブジェクトの基準点から適用されるオブジェクトの垂直スケール (percentage) を示します。 Indicates the vertical scale (percentage) of an object as applied from the registration point of the object.
IDisplayObject
  scrollRect : Rectangle
表示オブジェクトのスクロール矩形の境界です。 The scroll rectangle bounds of the display object.
IDisplayObject
  stage : Stage
[read-only] 表示オブジェクトのステージです。 The Stage of the display object.
IDisplayObject
  transform : Transform
表示オブジェクトのマトリックス、カラー変換、ピクセル境界に関係するプロパティを持つオブジェクトです。 An object with properties pertaining to a display object's matrix, color transform, and pixel bounds.
IDisplayObject
  visible : Boolean
表示オブジェクトが可視かどうかを示します。 Whether or not the display object is visible.
IDisplayObject
  width : Number
表示オブジェクトの幅を示します (ピクセル単位)。 Indicates the width of the display object, in pixels.
IDisplayObject
  x : Number
親 DisplayObjectContainer のローカル座標を基準にした DisplayObject インスタンスの x 座標を示します。 Indicates the x coordinate of the DisplayObject instance relative to the local coordinates of the parent DisplayObjectContainer.
IDisplayObject
  y : Number
親 DisplayObjectContainer のローカル座標を基準にした DisplayObject インスタンスの y 座標を示します。 Indicates the y coordinate of the DisplayObject instance relative to the local coordinates of the parent DisplayObjectContainer.
IDisplayObject
Public Methods
 MethodDefined by
  
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
targetCoordinateSpace オブジェクトの座標系を基準にして、表示オブジェクトの領域を定義する矩形を返します。 Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object.
IDisplayObject
  
getRect(targetCoordinateSpace:DisplayObject):Rectangle
シェイプ上の線を除き、targetCoordinateSpace パラメータによって定義された座標系に基づいて、表示オブジェクトの境界を定義する矩形を返します。 Returns a rectangle that defines the boundary of the display object, based on the coordinate system defined by the targetCoordinateSpace parameter, excluding any strokes on shapes.
IDisplayObject
  
globalToLocal(point:Point):Point
point オブジェクトをステージ (グローバル) 座標から表示オブジェクトの (ローカル) 座標に変換します。 Converts the point object from the Stage (global) coordinates to the display object's (local) coordinates.
IDisplayObject
  
hitTestObject(obj:DisplayObject):Boolean
表示オブジェクトを評価して、obj 表示オブジェクトと重複または交差するかどうかを調べます。 Evaluates the display object to see if it overlaps or intersects with the obj display object.
IDisplayObject
  
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
表示オブジェクトを評価して、x および y パラメータで指定されたポイントと重複または交差するかどうかを調べます。 Evaluates the display object to see if it overlaps or intersects with the point specified by the x and y parameters.
IDisplayObject
  
localToGlobal(point:Point):Point
point オブジェクトを表示オブジェクトの (ローカル) 座標からステージ (グローバル) 座標に変換します。 Converts the point object from the display object's (local) coordinates to the Stage (global) coordinates.
IDisplayObject
Property detail
accessibilityPropertiesproperty
accessibilityProperties:AccessibilityProperties  [read-write]

この表示オブジェクトの現在のアクセシビリティオプションです。 The current accessibility options for this display object.

Implementation
    public function get accessibilityProperties():AccessibilityProperties
    public function set accessibilityProperties(value:AccessibilityProperties):void
alphaproperty 
alpha:Number  [read-write]

指定されたオブジェクトのアルファ透明度値を示します。 Indicates the alpha transparency value of the object specified.

Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
blendModeproperty 
blendMode:String  [read-write]

使用するブレンドモードを指定する BlendMode クラスの値です。 A value from the BlendMode class that specifies which blend mode to use.

Implementation
    public function get blendMode():String
    public function set blendMode(value:String):void
cacheAsBitmapproperty 
cacheAsBitmap:Boolean  [read-write]

true に設定されている場合、表示オブジェクトの内部ビットマップ表現が Flash Player にキャッシュされます。 If set to true, Flash Player or Adobe AIR caches an internal bitmap representation of the display object.

Implementation
    public function get cacheAsBitmap():Boolean
    public function set cacheAsBitmap(value:Boolean):void
filtersproperty 
filters:Array  [read-write]

表示オブジェクトに現在関連付けられている各フィルタオブジェクトが保存されているインデックス付きの配列です。 An indexed array that contains each filter object currently associated with the display object.

Implementation
    public function get filters():Array
    public function set filters(value:Array):void
heightproperty 
height:Number  [read-write]

表示オブジェクトの高さを示します (ピクセル単位)。 Indicates the height of the display object, in pixels.

Implementation
    public function get height():Number
    public function set height(value:Number):void
loaderInfoproperty 
loaderInfo:LoaderInfo  [read-only]

この表示オブジェクトが属するファイルのロード情報を含む LoaderInfo オブジェクトを返します。 Returns a LoaderInfo object containing information about loading the file to which this display object belongs.

Implementation
    public function get loaderInfo():LoaderInfo
maskproperty 
mask:DisplayObject  [read-write]

呼び出し元の表示オブジェクトは、指定された mask オブジェクトによってマスクされます。 The calling display object is masked by the specified mask object.

Implementation
    public function get mask():DisplayObject
    public function set mask(value:DisplayObject):void
mouseXproperty 
mouseX:Number  [read-only]

マウス位置の x 座標を示します (ピクセル単位)。 Indicates the x coordinate of the mouse position, in pixels.

Implementation
    public function get mouseX():Number
mouseYproperty 
mouseY:Number  [read-only]

マウス位置の y 座標を示します (ピクセル単位)。 Indicates the y coordinate of the mouse position, in pixels.

Implementation
    public function get mouseY():Number
nameproperty 
name:String  [read-write]

DisplayObject のインスタンス名を示します。 Indicates the instance name of the DisplayObject.

Implementation
    public function get name():String
    public function set name(value:String):void
opaqueBackgroundproperty 
opaqueBackground:Object  [read-write]

表示オブジェクトが特定の背景色で不透明であるかどうかを指定します。 Specifies whether the display object is opaque with a certain background color.

Implementation
    public function get opaqueBackground():Object
    public function set opaqueBackground(value:Object):void
parentproperty 
parent:DisplayObjectContainer  [read-only]

この表示オブジェクトを含む DisplayObjectContainer オブジェクトを示します。 Indicates the DisplayObjectContainer object that contains this display object.

Implementation
    public function get parent():DisplayObjectContainer
rootproperty 
root:DisplayObject  [read-only]

ロードされた SWF ファイル内の表示オブジェクトの場合、root プロパティはその SWF ファイルが表す表示リストのツリー構造部分の一番上にある表示オブジェクトとなります。 For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.

Implementation
    public function get root():DisplayObject
rotationproperty 
rotation:Number  [read-write]

DisplayObject インスタンスの元の位置からの回転角を度単位で示します。 Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation.

Implementation
    public function get rotation():Number
    public function set rotation(value:Number):void
scale9Gridproperty 
scale9Grid:Rectangle  [read-write]

現在有効な拡大 / 縮小グリッドです。 The current scaling grid that is in effect.

Implementation
    public function get scale9Grid():Rectangle
    public function set scale9Grid(value:Rectangle):void
scaleXproperty 
scaleX:Number  [read-write]

基準点から適用されるオブジェクトの水平スケール (percentage) を示します。 Indicates the horizontal scale (percentage) of the object as applied from the registration point.

Implementation
    public function get scaleX():Number
    public function set scaleX(value:Number):void
scaleYproperty 
scaleY:Number  [read-write]

オブジェクトの基準点から適用されるオブジェクトの垂直スケール (percentage) を示します。 Indicates the vertical scale (percentage) of an object as applied from the registration point of the object.

Implementation
    public function get scaleY():Number
    public function set scaleY(value:Number):void
scrollRectproperty 
scrollRect:Rectangle  [read-write]

表示オブジェクトのスクロール矩形の境界です。 The scroll rectangle bounds of the display object.

Implementation
    public function get scrollRect():Rectangle
    public function set scrollRect(value:Rectangle):void
stageproperty 
stage:Stage  [read-only]

表示オブジェクトのステージです。 The Stage of the display object.

Implementation
    public function get stage():Stage
transformproperty 
transform:Transform  [read-write]

表示オブジェクトのマトリックス、カラー変換、ピクセル境界に関係するプロパティを持つオブジェクトです。 An object with properties pertaining to a display object's matrix, color transform, and pixel bounds.

Implementation
    public function get transform():Transform
    public function set transform(value:Transform):void
visibleproperty 
visible:Boolean  [read-write]

表示オブジェクトが可視かどうかを示します。 Whether or not the display object is visible.

Implementation
    public function get visible():Boolean
    public function set visible(value:Boolean):void
widthproperty 
width:Number  [read-write]

表示オブジェクトの幅を示します (ピクセル単位)。 Indicates the width of the display object, in pixels.

Implementation
    public function get width():Number
    public function set width(value:Number):void
xproperty 
x:Number  [read-write]

親 DisplayObjectContainer のローカル座標を基準にした DisplayObject インスタンスの x 座標を示します。 Indicates the x coordinate of the DisplayObject instance relative to the local coordinates of the parent DisplayObjectContainer.

Implementation
    public function get x():Number
    public function set x(value:Number):void
yproperty 
y:Number  [read-write]

親 DisplayObjectContainer のローカル座標を基準にした DisplayObject インスタンスの y 座標を示します。 Indicates the y coordinate of the DisplayObject instance relative to the local coordinates of the parent DisplayObjectContainer.

Implementation
    public function get y():Number
    public function set y(value:Number):void
Method detail
getBounds()method
public function getBounds(targetCoordinateSpace:DisplayObject):Rectangle

targetCoordinateSpace オブジェクトの座標系を基準にして、表示オブジェクトの領域を定義する矩形を返します。 Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object.

Parameters
targetCoordinateSpace:DisplayObject使用する座標系を定義する表示オブジェクトです。 The display object that defines the coordinate system to use.

Returns
RectangletargetCoordinateSpace オブジェクトの座標系を基準とする、表示オブジェクトの領域を定義する矩形です。 The rectangle that defines the area of the display object relative to the targetCoordinateSpace object's coordinate system.
getRect()method 
public function getRect(targetCoordinateSpace:DisplayObject):Rectangle

シェイプ上の線を除き、targetCoordinateSpace パラメータによって定義された座標系に基づいて、表示オブジェクトの境界を定義する矩形を返します。 Returns a rectangle that defines the boundary of the display object, based on the coordinate system defined by the targetCoordinateSpace parameter, excluding any strokes on shapes.

Parameters
targetCoordinateSpace:DisplayObject使用する座標系を定義する表示オブジェクトです。 The display object that defines the coordinate system to use.

Returns
RectangletargetCoordinateSpace オブジェクトの座標系を基準とする、表示オブジェクトの領域を定義する矩形です。 The rectangle that defines the area of the display object relative to the targetCoordinateSpace object's coordinate system.
globalToLocal()method 
public function globalToLocal(point:Point):Point

point オブジェクトをステージ (グローバル) 座標から表示オブジェクトの (ローカル) 座標に変換します。 Converts the point object from the Stage (global) coordinates to the display object's (local) coordinates.

Parameters
point:PointPoint クラスを使って作成されるオブジェクトです。Point オブジェクトは、x および y 座標をプロパティとして指定します。 An object created with the Point class. The Point object specifies the x and y coordinates as properties.

Returns
Point表示オブジェクトからの相対座標を持つ Point オブジェクトです。 A Point object with coordinates relative to the display object.
hitTestObject()method 
public function hitTestObject(obj:DisplayObject):Boolean

表示オブジェクトを評価して、obj 表示オブジェクトと重複または交差するかどうかを調べます。 Evaluates the display object to see if it overlaps or intersects with the obj display object.

Parameters
obj:DisplayObject検査の対象となる表示オブジェクトです。 The display object to test against.

Returns
Boolean表示オブジェクトが交差する場合は true、そうでない場合は false です。 true if the display objects intersect; false if not.
hitTestPoint()method 
public function hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean

表示オブジェクトを評価して、x および y パラメータで指定されたポイントと重複または交差するかどうかを調べます。 Evaluates the display object to see if it overlaps or intersects with the point specified by the x and y parameters.

Parameters
x:Numberこのオブジェクトの検査の基準となる x 座標です。 The x coordinate to test against this object.
 
y:Numberこのオブジェクトの検査の基準となる y 座標です。 The y coordinate to test against this object.
 
shapeFlag:Boolean (default = false)オブジェクトの実際のピクセルと比較して検査する場合は true、境界ボックスと比較して検査する場合は false です。 Whether to check against the actual pixels of the object (true) or the bounding box (false).

Returns
Boolean指定されたポイントと表示オブジェクトが重複または交差する場合は true、そうでなければ false です。 true if the display object overlaps or intersects with the specified point; false otherwise.
localToGlobal()method 
public function localToGlobal(point:Point):Point

point オブジェクトを表示オブジェクトの (ローカル) 座標からステージ (グローバル) 座標に変換します。 Converts the point object from the display object's (local) coordinates to the Stage (global) coordinates.

Parameters
point:PointPoint クラスを使用し、x および y 座標をプロパティとして指定して作成されるポイントの名前または識別子です。 The name or identifier of a point created with the Point class, specifying the x and y coordinates as properties.

Returns
Pointステージからの相対座標を持つ Point オブジェクトです。 A Point object with coordinates relative to the Stage.