Matrix

package flash.geom

Available on flash

Constructor

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

copyColumnFrom(column:UInt, vector3D:Vector3D):Void

copyColumnTo(column:UInt, vector3D:Vector3D):Void

copyFrom(sourceMatrix:Matrix):Void

copyRowFrom(row:UInt, vector3D:Vector3D):Void

copyRowTo(row:UInt, vector3D:Vector3D):Void

createBox(scaleX:Float, scaleY:Float, rotation:Float = 0, tx:Float = 0, ty:Float = 0):Void

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

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–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/geom/Matrix.html