| Package | edu.stanford.covertlab.graphics.printer |
| Class | public class Printer |
See also
| Method | Defined by | ||
|---|---|---|---|
|
print(image:UIComponent, bounds:Rectangle = null):void
[static]
BUG: node labels print with white background text in vector print mode; this is not a
problem in bitmap printing mode; perhaps we want to build a sprite specifically for
printing (and png, jpeg rendering) which doesn't contain degrafa raster text and
will display at higher quality in vector mode; additionally we can't use degrafa GraphicText
because apparently it can't be created programmatically with actionscript, only declaratively
in MXML.
| Printer | ||
| () | method |
public static function print(image:UIComponent, bounds:Rectangle = null):voidBUG: node labels print with white background text in vector print mode; this is not a problem in bitmap printing mode; perhaps we want to build a sprite specifically for printing (and png, jpeg rendering) which doesn't contain degrafa raster text and will display at higher quality in vector mode; additionally we can't use degrafa GraphicText because apparently it can't be created programmatically with actionscript, only declaratively in MXML. BUG: background surface sprite not scaling properly (printScale doesn't have desired effect) BUG: printing not centered on page
Parametersimage:UIComponent |
|
bounds:Rectangle (default = null) |