/bin/std/flash9/geom/Matrix.hx
http://github.com/Yoomee/clippy · Haxe · 23 lines · 22 code · 1 blank · 0 comment · 0 complexity · 04b012f4090a4af3a2c139c15e473f55 MD5 · raw file
- package flash.geom;
- extern class Matrix {
- 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 clone() : Matrix;
- function concat(m : Matrix) : 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 deltaTransformPoint(point : Point) : Point;
- function identity() : Void;
- function invert() : Void;
- function rotate(angle : Float) : Void;
- function scale(sx : Float, sy : Float) : Void;
- function toString() : String;
- function transformPoint(point : Point) : Point;
- function translate(dx : Float, dy : Float) : Void;
- }