/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

  1. package flash.geom;
  2. extern class Matrix {
  3. var a : Float;
  4. var b : Float;
  5. var c : Float;
  6. var d : Float;
  7. var tx : Float;
  8. var ty : Float;
  9. function new(?a : Float, ?b : Float, ?c : Float, ?d : Float, ?tx : Float, ?ty : Float) : Void;
  10. function clone() : Matrix;
  11. function concat(m : Matrix) : Void;
  12. function createBox(scaleX : Float, scaleY : Float, ?rotation : Float, ?tx : Float, ?ty : Float) : Void;
  13. function createGradientBox(width : Float, height : Float, ?rotation : Float, ?tx : Float, ?ty : Float) : Void;
  14. function deltaTransformPoint(point : Point) : Point;
  15. function identity() : Void;
  16. function invert() : Void;
  17. function rotate(angle : Float) : Void;
  18. function scale(sx : Float, sy : Float) : Void;
  19. function toString() : String;
  20. function transformPoint(point : Point) : Point;
  21. function translate(dx : Float, dy : Float) : Void;
  22. }