Matrix.hx 851 B

1234567891011121314151617181920212223
  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. }