PrintJob.hx 934 B

1234567891011121314151617181920
  1. package flash.printing;
  2. extern class PrintJob extends flash.events.EventDispatcher {
  3. @:flash.property var orientation(get,never) : PrintJobOrientation;
  4. @:flash.property var pageHeight(get,never) : Int;
  5. @:flash.property var pageWidth(get,never) : Int;
  6. @:flash.property var paperHeight(get,never) : Int;
  7. @:flash.property var paperWidth(get,never) : Int;
  8. function new() : Void;
  9. function addPage(sprite : flash.display.Sprite, ?printArea : flash.geom.Rectangle, ?options : PrintJobOptions, frameNum : Int = 0) : Void;
  10. private function get_orientation() : PrintJobOrientation;
  11. private function get_pageHeight() : Int;
  12. private function get_pageWidth() : Int;
  13. private function get_paperHeight() : Int;
  14. private function get_paperWidth() : Int;
  15. function send() : Void;
  16. function start() : Bool;
  17. @:flash.property @:require(flash10_1) static var isSupported(get,never) : Bool;
  18. private static function get_isSupported() : Bool;
  19. }