Interface PSTextHandler
- All Superinterfaces:
TextHandler
Interface which the Graphics2D class delegates text painting to for Postscript.
-
Method Summary
Modifier and TypeMethodDescriptionvoidIs called by when a "PageSetup" section of the PostScript document is generated.voidIs called by when the "Setup" or "Prolog" of the PostScript document is generated.Methods inherited from interface TextHandler
drawString
-
Method Details
-
writeSetup
Is called by when the "Setup" or "Prolog" of the PostScript document is generated. Subclasses can do font registration, for example.- Throws:
IOException- In case of an I/O error
-
writePageSetup
Is called by when a "PageSetup" section of the PostScript document is generated. Subclasses can do some font initialization if necessary.- Throws:
IOException- In case of an I/O error
-