Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
Transform

Package | mx.geom
Class | public class Transform
Inheritance | Transform flash.geom.Transform

Language Version : | ActionScript 3.0

Product Version : | Flex 4

Runtime Versions : | Flash Player 10, AIR 1.5

Adds synchronization support on top of the flash.geom.Transform class. The class has a `target` property which is the IVisualElement that the Transform has been assigned to. The IVisualElement implementations typically set the target to themselves when the Transform is assigned to their `transform` property.

Changes to the Transform properties automatically get pushed to the target. Reading from the Transform properties reads directly from the target's transform.

See also

flash.geom.Transform

Public Properties

| Property | Defined By
--- | --- | ---
|  | matrix3D : Matrix3D [override] | Transform
|  | target : IVisualElement The IVisualElement with which the Transform will keep in synch. | Transform

Public Methods

| Method | Defined By
--- | --- | ---
|  | Transform(src:DisplayObject = null) Constructor. | Transform
|  | getRelativeMatrix3D(relativeTo:DisplayObject):Matrix3D [override] | Transform

Property Detail

matrix3D | property

`matrix3D:Matrix3D`[override]

Language Version : | ActionScript 3.0

Product Version : | Flex 4

Runtime Versions : | Flash Player 10, AIR 1.5

Implementation
`public function get matrix3D():Matrix3D`
`public function set matrix3D(value:Matrix3D):void`

target | property |

`target:IVisualElement`

Language Version : | ActionScript 3.0

Product Version : | Flex 4

Runtime Versions : | Flash Player 10, AIR 1.5

The IVisualElement with which the Transform will keep in synch. The IVisualElement implementations will typically set the target to themselves when the Transform is assigned to their transform property.

Implementation
`public function get target():IVisualElement`
`public function set target(value:IVisualElement):void`
Constructor Detail

Transform | () | Constructor

`public function Transform(src:DisplayObject = null)`

Language Version : | ActionScript 3.0

Product Version : | Flex 4

Runtime Versions : | Flash Player 10, AIR 1.5

Constructor.

Parameters

| `src:DisplayObject` (default = `null`)`` — The target of the transform.

Method Detail

getRelativeMatrix3D | () | method

`override public function getRelativeMatrix3D(relativeTo:DisplayObject):Matrix3D`

Language Version : | ActionScript 3.0

Product Version : | Flex 4

Runtime Versions : | Flash Player 10, AIR 1.5

Parameters

| `relativeTo:DisplayObject`

Returns

| `Matrix3D`

Wed Nov 15 2017, 09:50 AM +01:00