2025-01-22 16:18:30 +01:00

21 lines
934 B
Haxe

package flash.printing;
extern class PrintJob extends flash.events.EventDispatcher {
@:flash.property var orientation(get,never) : PrintJobOrientation;
@:flash.property var pageHeight(get,never) : Int;
@:flash.property var pageWidth(get,never) : Int;
@:flash.property var paperHeight(get,never) : Int;
@:flash.property var paperWidth(get,never) : Int;
function new() : Void;
function addPage(sprite : flash.display.Sprite, ?printArea : flash.geom.Rectangle, ?options : PrintJobOptions, frameNum : Int = 0) : Void;
private function get_orientation() : PrintJobOrientation;
private function get_pageHeight() : Int;
private function get_pageWidth() : Int;
private function get_paperHeight() : Int;
private function get_paperWidth() : Int;
function send() : Void;
function start() : Bool;
@:flash.property @:require(flash10_1) static var isSupported(get,never) : Bool;
private static function get_isSupported() : Bool;
}