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

Package | mx.core
Interface | public interface IAssetLayoutFeatures

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

The IAssetLayoutFeatures interface defines the minimum properties and methods required for an Object to support advanced transforms in embedded assets.

See also

mx.core.AdvancedLayoutFeatures

Public Properties

| Property | Defined By
--- | --- | ---
|  | computedMatrix : Matrix [read-only] The computed matrix, calculated by combining the layout matrix and any offsets provided. | IAssetLayoutFeatures
|  | computedMatrix3D : Matrix3D [read-only] The computed 3D matrix, calculated by combining the 3D layout matrix and any offsets provided. | IAssetLayoutFeatures
|  | is3D : Boolean [read-only] True if the computed transform has 3D values. | IAssetLayoutFeatures
|  | layoutIs3D : Boolean [read-only] True if the layout transform has 3D values. | IAssetLayoutFeatures
|  | layoutMatrix : Matrix The 2D matrix used during layout calculations to determine the layout and size of the component and its parent and siblings. | IAssetLayoutFeatures
|  | layoutMatrix3D : Matrix3D The 3D matrix used during layout calculations to determine the layout and size of the component and its parent and siblings. | IAssetLayoutFeatures
|  | layoutRotationX : Number Layout transform convenience property. | IAssetLayoutFeatures
|  | layoutRotationY : Number Layout transform convenience property. | IAssetLayoutFeatures
|  | layoutRotationZ : Number Layout transform convenience property. | IAssetLayoutFeatures
|  | layoutScaleX : Number Layout transform convenience property. | IAssetLayoutFeatures
|  | layoutScaleY : Number Layout transform convenience property. | IAssetLayoutFeatures
|  | layoutScaleZ : Number Layout transform convenience property. | IAssetLayoutFeatures
|  | layoutWidth : Number Used by the mirroring transform. | IAssetLayoutFeatures
|  | layoutX : Number Layout transform convenience property. | IAssetLayoutFeatures
|  | layoutY : Number Layout transform convenience property. | IAssetLayoutFeatures
|  | layoutZ : Number Layout transform convenience property. | IAssetLayoutFeatures
|  | mirror : Boolean If true the X axis is scaled by -1 and the x coordinate of the origin is translated by the component's width. | IAssetLayoutFeatures
|  | stretchX : Number The stretchY is the horizontal component of the stretch scale factor which is applied before any other transformation property. | IAssetLayoutFeatures
|  | stretchY : Number The stretchY is the vertical component of the stretch scale factor which is applied before any other transformation property. | IAssetLayoutFeatures
|  | transformX : Number The x value of the point around which any rotation and scale is performed in both the layout and computed matrix. | IAssetLayoutFeatures
|  | transformY : Number The y value of the point around which any rotation and scale is performed in both the layout and computed matrix. | IAssetLayoutFeatures
|  | transformZ : Number The z value of the point around which any rotation and scale is performed in both the layout and computed matrix. | IAssetLayoutFeatures

Property Detail

computedMatrix | property

`computedMatrix:Matrix` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

The computed matrix, calculated by combining the layout matrix and any offsets provided.

Implementation
`public function get computedMatrix():Matrix`

computedMatrix3D | property |

`computedMatrix3D:Matrix3D` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

The computed 3D matrix, calculated by combining the 3D layout matrix and any offsets provided.

Implementation
`public function get computedMatrix3D():Matrix3D`

is3D | property |

`is3D:Boolean` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

True if the computed transform has 3D values.

Implementation
`public function get is3D():Boolean`

layoutIs3D | property |

`layoutIs3D:Boolean` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

True if the layout transform has 3D values.

Implementation
`public function get layoutIs3D():Boolean`

layoutMatrix | property |

`layoutMatrix:Matrix`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

The 2D matrix used during layout calculations to determine the layout and size of the component and its parent and siblings.

Implementation
`public function get layoutMatrix():Matrix`
`public function set layoutMatrix(value:Matrix):void`

layoutMatrix3D | property |

`layoutMatrix3D:Matrix3D`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

The 3D matrix used during layout calculations to determine the layout and size of the component and its parent and siblings.

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

layoutRotationX | property |

`layoutRotationX:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

Layout transform convenience property. Represents the rotation around the X axis of the layout matrix used in layout and in the computed transform.

Implementation
`public function get layoutRotationX():Number`
`public function set layoutRotationX(value:Number):void`

layoutRotationY | property |

`layoutRotationY:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

Layout transform convenience property. Represents the rotation around the Y axis of the layout matrix used in layout and in the computed transform.

Implementation
`public function get layoutRotationY():Number`
`public function set layoutRotationY(value:Number):void`

layoutRotationZ | property |

`layoutRotationZ:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

Layout transform convenience property. Represents the rotation around the Z axis of the layout matrix used in layout and in the computed transform.

Implementation
`public function get layoutRotationZ():Number`
`public function set layoutRotationZ(value:Number):void`

layoutScaleX | property |

`layoutScaleX:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

Layout transform convenience property. Represents the scale along the X axis of the layout matrix used in layout and in the computed transform.

Implementation
`public function get layoutScaleX():Number`
`public function set layoutScaleX(value:Number):void`

layoutScaleY | property |

`layoutScaleY:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

Layout transform convenience property. Represents the scale along the Y axis of the layout matrix used in layout and in the computed transform.

Implementation
`public function get layoutScaleY():Number`
`public function set layoutScaleY(value:Number):void`

layoutScaleZ | property |

`layoutScaleZ:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

Layout transform convenience property. Represents the scale along the Z axis of the layout matrix used in layout and in the computed transform.

Implementation
`public function get layoutScaleZ():Number`
`public function set layoutScaleZ(value:Number):void`

layoutWidth | property |

`layoutWidth:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

Used by the mirroring transform. See the mirror property.

Implementation
`public function get layoutWidth():Number`
`public function set layoutWidth(value:Number):void`

layoutX | property |

`layoutX:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

Layout transform convenience property. Represents the x value of the layout matrix used in layout and in the computed transform.

Implementation
`public function get layoutX():Number`
`public function set layoutX(value:Number):void`

layoutY | property |

`layoutY:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

Layout transform convenience property. Represents the y value of the layout matrix used in layout and in the computed transform.

Implementation
`public function get layoutY():Number`
`public function set layoutY(value:Number):void`

layoutZ | property |

`layoutZ:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

Layout transform convenience property. Represents the z value of the layout matrix used in layout and in the computed transform.

Implementation
`public function get layoutZ():Number`
`public function set layoutZ(value:Number):void`

mirror | property |

`mirror:Boolean`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

If true the X axis is scaled by -1 and the x coordinate of the origin is translated by the component's width. The net effect of this "mirror" transform is to flip the direction that the X axis increases in without changing the layout element's location relative to the parent's origin.

The default value is `false`.

Implementation
`public function get mirror():Boolean`
`public function set mirror(value:Boolean):void`

stretchX | property |

`stretchX:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

The stretchY is the horizontal component of the stretch scale factor which is applied before any other transformation property.

Implementation
`public function get stretchX():Number`
`public function set stretchX(value:Number):void`

stretchY | property |

`stretchY:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

The stretchY is the vertical component of the stretch scale factor which is applied before any other transformation property.

Implementation
`public function get stretchY():Number`
`public function set stretchY(value:Number):void`

transformX | property |

`transformX:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

The x value of the point around which any rotation and scale is performed in both the layout and computed matrix.

Implementation
`public function get transformX():Number`
`public function set transformX(value:Number):void`

transformY | property |

`transformY:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

The y value of the point around which any rotation and scale is performed in both the layout and computed matrix.

Implementation
`public function get transformY():Number`
`public function set transformY(value:Number):void`

transformZ | property |

`transformZ:Number`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.1

Runtime Versions : | Flash Player 10, AIR 1.5

The z value of the point around which any rotation and scale is performed in both the layout and computed matrix.

Implementation
`public function get transformZ():Number`
`public function set transformZ(value:Number):void`

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