Package | fl.motion |
Class | public class MatrixTransformer |
Inheritance | MatrixTransformer Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
More examples
Defining the MatrixTransformer class
Related API Elements
Method | Defined By | ||
---|---|---|---|
[static]
Calculates the angle of rotation present in a matrix, in degrees. | MatrixTransformer | ||
[static]
Calculates the angle of rotation present in a matrix, in radians. | MatrixTransformer | ||
[static]
Calculates the horizontal scale present in a matrix. | MatrixTransformer | ||
[static]
Calculates the vertical scale present in a matrix. | MatrixTransformer | ||
[static]
Calculates the angle of horizontal skew present in a matrix, in degrees. | MatrixTransformer | ||
[static]
Calculates the angle of horizontal skew present in a matrix, in radians. | MatrixTransformer | ||
[static]
Calculates the angle of vertical skew present in a matrix, in degrees. | MatrixTransformer | ||
[static]
Calculates the angle of vertical skew present in a matrix, in radians. | MatrixTransformer | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
[static]
Moves a matrix as necessary to align an internal point with an external point. | MatrixTransformer | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
[static]
Rotates a matrix about a point defined outside the matrix's transformation space. | MatrixTransformer | ||
[static]
Rotates a matrix about a point defined inside the matrix's transformation space. | MatrixTransformer | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
[static]
Changes the angle of rotation in a matrix. | MatrixTransformer | ||
[static]
Changes the angle of rotation in a matrix. | MatrixTransformer | ||
[static]
Changes the horizontal scale in a matrix. | MatrixTransformer | ||
[static]
Changes the vertical scale in a matrix. | MatrixTransformer | ||
[static]
Changes the horizontal skew in a matrix. | MatrixTransformer | ||
[static]
Changes the horizontal skew in a matrix. | MatrixTransformer | ||
[static]
Changes the vertical skew in a matrix. | MatrixTransformer | ||
[static]
Changes the vertical skew in a matrix. | MatrixTransformer | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
getRotation | () | method |
public static function getRotation(m:Matrix):Number
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Calculates the angle of rotation present in a matrix, in degrees. If the horizontal and vertical skews are not equal, the vertical skew value is used. This matches the rotation behavior in Flash Player.
Parameters
m:Matrix — A Matrix instance.
|
Number — The angle of rotation, in degrees.
|
Related API Elements
getRotationRadians | () | method |
public static function getRotationRadians(m:Matrix):Number
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Calculates the angle of rotation present in a matrix, in radians. If the horizontal and vertical skews are not equal, the vertical skew value is used.
Parameters
m:Matrix — A Matrix instance.
|
Number — The angle of rotation, in radians.
|
Related API Elements
getScaleX | () | method |
public static function getScaleX(m:Matrix):Number
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Calculates the horizontal scale present in a matrix.
Parameters
m:Matrix — A Matrix instance.
|
Number — The horizontal scale.
|
Related API Elements
getScaleY | () | method |
public static function getScaleY(m:Matrix):Number
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Calculates the vertical scale present in a matrix.
Parameters
m:Matrix — A Matrix instance.
|
Number — The vertical scale.
|
Related API Elements
getSkewX | () | method |
public static function getSkewX(m:Matrix):Number
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Calculates the angle of horizontal skew present in a matrix, in degrees.
Parameters
m:Matrix — A Matrix instance.
|
Number — The angle of horizontal skew, in degrees.
|
Related API Elements
getSkewXRadians | () | method |
public static function getSkewXRadians(m:Matrix):Number
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Calculates the angle of horizontal skew present in a matrix, in radians.
Parameters
m:Matrix — A Matrix instance.
|
Number — The angle of horizontal skew, in radians.
|
Related API Elements
getSkewY | () | method |
public static function getSkewY(m:Matrix):Number
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Calculates the angle of vertical skew present in a matrix, in degrees.
Parameters
m:Matrix — A Matrix instance.
|
Number — The angle of vertical skew, in degrees.
|
Related API Elements
getSkewYRadians | () | method |
public static function getSkewYRadians(m:Matrix):Number
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Calculates the angle of vertical skew present in a matrix, in radians.
Parameters
m:Matrix — A Matrix instance.
|
Number — The angle of vertical skew, in radians.
|
Related API Elements
matchInternalPointWithExternal | () | method |
public static function matchInternalPointWithExternal(m:Matrix, internalPoint:Point, externalPoint:Point):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Moves a matrix as necessary to align an internal point with an external point. This can be used to match a point in a transformed movie clip with one in its parent.
Parameters
m:Matrix — A Matrix instance.
| |
internalPoint:Point — A Point instance defining a position within the matrix's transformation space.
| |
externalPoint:Point — A Point instance defining a reference position outside the matrix's transformation space.
|
Related API Elements
rotateAroundExternalPoint | () | method |
public static function rotateAroundExternalPoint(m:Matrix, x:Number, y:Number, angleDegrees:Number):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Rotates a matrix about a point defined outside the matrix's transformation space. This can be used to rotate a movie clip around a transformation point in its parent.
Parameters
m:Matrix — A Matrix instance.
| |
x:Number — The x coordinate of the point.
| |
y:Number — The y coordinate of the point.
| |
angleDegrees:Number — The angle of rotation in degrees.
|
Related API Elements
rotateAroundInternalPoint | () | method |
public static function rotateAroundInternalPoint(m:Matrix, x:Number, y:Number, angleDegrees:Number):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Rotates a matrix about a point defined inside the matrix's transformation space. This can be used to rotate a movie clip around a transformation point inside itself.
Parameters
m:Matrix — A Matrix instance.
| |
x:Number — The x coordinate of the point.
| |
y:Number — The y coordinate of the point.
| |
angleDegrees:Number — The angle of rotation in degrees.
|
Related API Elements
setRotation | () | method |
public static function setRotation(m:Matrix, rotation:Number):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Changes the angle of rotation in a matrix. If the horizontal and vertical skews are not equal, the vertical skew is set to the rotation value and the horizontal skew is increased by the difference between the old rotation and the new rotation. This matches the rotation behavior in Flash Player.
Parameters
m:Matrix — A Matrix instance.
| |
rotation:Number — The angle of rotation, in degrees.
|
Related API Elements
setRotationRadians | () | method |
public static function setRotationRadians(m:Matrix, rotation:Number):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Changes the angle of rotation in a matrix. If the horizontal and vertical skews are not equal, the vertical skew is set to the rotation value and the horizontal skew is increased by the difference between the old rotation and the new rotation. This matches the rotation behavior in Flash Player.
Parameters
m:Matrix — A Matrix instance.
| |
rotation:Number — The angle of rotation, in radians.
|
Related API Elements
setScaleX | () | method |
public static function setScaleX(m:Matrix, scaleX:Number):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Changes the horizontal scale in a matrix.
Parameters
m:Matrix — A Matrix instance to be modified.
| |
scaleX:Number — The new horizontal scale.
|
Related API Elements
setScaleY | () | method |
public static function setScaleY(m:Matrix, scaleY:Number):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Changes the vertical scale in a matrix.
Parameters
m:Matrix — A Matrix instance to be modified.
| |
scaleY:Number — The new vertical scale.
|
Related API Elements
setSkewX | () | method |
public static function setSkewX(m:Matrix, skewX:Number):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Changes the horizontal skew in a matrix.
Parameters
m:Matrix — A Matrix instance to be modified.
| |
skewX:Number — The new horizontal skew, in degrees.
|
Related API Elements
setSkewXRadians | () | method |
public static function setSkewXRadians(m:Matrix, skewX:Number):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Changes the horizontal skew in a matrix.
Parameters
m:Matrix — A Matrix instance to be modified.
| |
skewX:Number — The new horizontal skew, in radians.
|
Related API Elements
setSkewY | () | method |
public static function setSkewY(m:Matrix, skewY:Number):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Changes the vertical skew in a matrix.
Parameters
m:Matrix — A Matrix instance to be modified.
| |
skewY:Number — The new vertical skew, in degrees.
|
Related API Elements
setSkewYRadians | () | method |
public static function setSkewYRadians(m:Matrix, skewY:Number):void
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
Changes the vertical skew in a matrix.
Parameters
m:Matrix — A Matrix instance to be modified.
| |
skewY:Number — The new vertical skew, in radians.
|
Related API Elements
Wed Nov 21 2018, 06:34 AM -08:00