class openfl.geom.Matrix

Instance Fields

var a:Float

var b:Float

var c:Float

var d:Float

var tx:Float

var ty:Float

function new(?a:Float, ?b:Float, ?c:Float, ?d:Float, ?tx:Float, ?ty:Float): Void

function __transformPoint(point:Point): Void

function __transformX(px:Float, py:Float): Float

function __transformY(px:Float, py:Float): Float

function clone(): Matrix

function concat(m:Matrix): Void

function copyColumnFrom(column:Int, vector3D:Vector3D): Void

function copyColumnTo(column:Int, vector3D:Vector3D): Void

function copyFrom(sourceMatrix:Matrix): Void

function copyRowFrom(row:Int, vector3D:Vector3D): Void

function copyRowTo(row:Int, vector3D:Vector3D): Void

function createBox(scaleX:Float, scaleY:Float, ?rotation:Float, ?tx:Float, ?ty:Float): Void

function createGradientBox(width:Float, height:Float, ?rotation:Float, ?tx:Float, ?ty:Float): Void

function equals(matrix:{ty:Float, tx:Float, d:Float, c:Float, b:Float, a:Float}): Bool

function identity(): Void

function invert(): Matrix

function rotate(theta:Float): Void

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

function setTo(a:Float, b:Float, c:Float, d:Float, tx:Float, ty:Float): Void

function to3DString(?roundPixels:Bool): String

function toMozString(): String

function toString(): String

function transformPoint(pos:Point): Point

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