StageCapture.hx 1.1 KB

1234567891011121314151617181920212223242526
  1. package flash.automation;
  2. @:require(flash10_1) extern class StageCapture extends flash.events.EventDispatcher {
  3. @:flash.property var capturePTS(get,set) : Float;
  4. @:flash.property var captureSource(get,set) : String;
  5. @:flash.property var clipRect(get,set) : flash.geom.Rectangle;
  6. @:flash.property var fileNameBase(get,set) : String;
  7. function new() : Void;
  8. function cancel() : Void;
  9. function capture(type : String) : Void;
  10. function captureBitmapData() : flash.display.BitmapData;
  11. private function get_capturePTS() : Float;
  12. private function get_captureSource() : String;
  13. private function get_clipRect() : flash.geom.Rectangle;
  14. private function get_fileNameBase() : String;
  15. private function set_capturePTS(value : Float) : Float;
  16. private function set_captureSource(value : String) : String;
  17. private function set_clipRect(value : flash.geom.Rectangle) : flash.geom.Rectangle;
  18. private function set_fileNameBase(value : String) : String;
  19. static final CURRENT : String;
  20. static final MULTIPLE : String;
  21. static final NEXT : String;
  22. static final RASTER : String;
  23. static final SCREEN : String;
  24. static final STAGE : String;
  25. }