Name | Type | Description |
---|---|---|
src | DisplayObject |
Example
Example usage of Transform.
// new Transform
const {Transform} = next2d.geom;
const transform = new Transform(displayObject);
Members
指定されたクラスの空間名を返します。
Returns the space name of the specified class.- Default Value:
- next2d.geom.Transform
表示オブジェクトのカラーを全体的に調整する値を格納している
ColorTransform オブジェクトです。
A ColorTransform object containing values that universally adjust
the colors in the display object.この表示オブジェクトおよびルートレベルまでのすべての親オブジェクトに適用される、
結合されたカラー変換を表す ColorTransform オブジェクトです。
A ColorTransform object representing
the combined color transformations applied to the display object
and all of its parent objects, back to the root level.表示オブジェクトの拡大 / 縮小、回転、および移動を変更する値を格納している
Matrix オブジェクトです。
A Matrix object containing values that alter the scaling,
rotation, and translation of the display object.指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.- Default Value:
- next2d.geom.Transform
Methods
指定されたクラスのストリングを返します。
Returns the string representation of the specified class.- Default Value:
- [class Transform]
Returns:
Type Description string この表示オブジェクトおよびルートレベルまでのそのすべての親オブジェクトの結合された
変換マトリックスを表す Matrix オブジェクトです。
A Matrix object representing the combined transformation matrixes
of the display object and all of its parent objects, back to the root level.ステージ上の表示オブジェクトの境界を示す矩形を定義する Transform オブジェクトです。
A Transform object that defines the bounding rectangle of
the display object on the stage.指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.Returns:
Type Description string