W3cubDocs

/Haxe Flash

Matrix

package flash.geom

Available on flash

Constructor

@:value({ ty : 0, tx : 0, d : 1, c : 0, b : 0, a : 1 }) new (a:Float = 1, b:Float = 0, c:Float = 0, d:Float = 1, tx:Float = 0, ty:Float = 0)

Variables

a:Float

b:Float

c:Float

d:Float

tx:Float

ty:Float

Methods

clone ():Matrix

concat (m:Matrix):Void

@:require(flash11) copyColumnFrom (column:UInt, vector3D:Vector3D):Void

@:require(flash11) copyColumnTo (column:UInt, vector3D:Vector3D):Void

@:require(flash11) copyFrom (sourceMatrix:Matrix):Void

@:require(flash11) copyRowFrom (row:UInt, vector3D:Vector3D):Void

@:require(flash11) copyRowTo (row:UInt, vector3D:Vector3D):Void

@:value({ ty : 0, tx : 0, rotation : 0 }) createBox (scaleX:Float, scaleY:Float, rotation:Float = 0, tx:Float = 0, ty:Float = 0):Void

@:value({ ty : 0, tx : 0, rotation : 0 }) createGradientBox (width:Float, height:Float, rotation:Float = 0, tx:Float = 0, ty:Float = 0):Void

deltaTransformPoint (point:Point):Point

identity ():Void

invert ():Void

rotate (angle:Float):Void

scale (sx:Float, sy:Float):Void

@:require(flash11) setTo (aa:Float, ba:Float, ca:Float, da:Float, txa:Float, tya:Float):Void

toString ():String

transformPoint (point:Point):Point

translate (dx:Float, dy:Float):Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/geom/Matrix.html