DisplacementMapFilter.hx 1.8 KB

1234567891011121314151617181920212223242526272829303132
  1. package flash.filters;
  2. extern final class DisplacementMapFilter extends BitmapFilter {
  3. @:flash.property var alpha(get,set) : Float;
  4. @:flash.property var color(get,set) : UInt;
  5. @:flash.property var componentX(get,set) : UInt;
  6. @:flash.property var componentY(get,set) : UInt;
  7. @:flash.property var mapBitmap(get,set) : flash.display.BitmapData;
  8. @:flash.property var mapPoint(get,set) : flash.geom.Point;
  9. @:flash.property var mode(get,set) : DisplacementMapFilterMode;
  10. @:flash.property var scaleX(get,set) : Float;
  11. @:flash.property var scaleY(get,set) : Float;
  12. function new(?mapBitmap : flash.display.BitmapData, ?mapPoint : flash.geom.Point, componentX : UInt = 0, componentY : UInt = 0, scaleX : Float = 0, scaleY : Float = 0, ?mode : DisplacementMapFilterMode, color : UInt = 0, alpha : Float = 0) : Void;
  13. private function get_alpha() : Float;
  14. private function get_color() : UInt;
  15. private function get_componentX() : UInt;
  16. private function get_componentY() : UInt;
  17. private function get_mapBitmap() : flash.display.BitmapData;
  18. private function get_mapPoint() : flash.geom.Point;
  19. private function get_mode() : DisplacementMapFilterMode;
  20. private function get_scaleX() : Float;
  21. private function get_scaleY() : Float;
  22. private function set_alpha(value : Float) : Float;
  23. private function set_color(value : UInt) : UInt;
  24. private function set_componentX(value : UInt) : UInt;
  25. private function set_componentY(value : UInt) : UInt;
  26. private function set_mapBitmap(value : flash.display.BitmapData) : flash.display.BitmapData;
  27. private function set_mapPoint(value : flash.geom.Point) : flash.geom.Point;
  28. private function set_mode(value : DisplacementMapFilterMode) : DisplacementMapFilterMode;
  29. private function set_scaleX(value : Float) : Float;
  30. private function set_scaleY(value : Float) : Float;
  31. }