public interface DisplayCallback
| Modifier and Type | Method and Description |
|---|---|
void |
displayClose()
Method called when device has been closed.
|
void |
displayOpen()
Method called when new device has been opened.
|
void |
displayPage(int width,
int height,
int raster,
int format,
int copies,
int flush,
byte[] imageData)
Method called on show page.
|
void |
displayPreClose()
Method called when device is about to be closed.
|
void |
displayPreSize(int width,
int height,
int raster,
int format)
Method called when device is about to be resized.
|
void |
displaySize(int width,
int height,
int raster,
int format)
Method called when device has been resized.
|
void |
displaySync()
Method called on page flush.
|
void |
displayUpdate(int x,
int y,
int width,
int height)
Method called to notify whenever a portion of the raster is updated.
|
void displayOpen()
throws GhostscriptException
GhostscriptExceptionvoid displayPreClose()
throws GhostscriptException
GhostscriptExceptionvoid displayClose()
throws GhostscriptException
GhostscriptExceptionvoid displayPreSize(int width,
int height,
int raster,
int format)
throws GhostscriptException
width - Widthheight - Heightraster - Rasterformat - FormatGhostscriptExceptionvoid displaySize(int width,
int height,
int raster,
int format)
throws GhostscriptException
width - Widthheight - Heightraster - Rasterformat - FormatGhostscriptExceptionvoid displaySync()
throws GhostscriptException
GhostscriptExceptionvoid displayPage(int width,
int height,
int raster,
int format,
int copies,
int flush,
byte[] imageData)
throws GhostscriptException
width - Widthheight - Heightraster - Rasterformat - Formatcopies - Copiesflush - FlushimageData - Byte array representing image data. Data layout and order is
controlled by the -dDisplayFormat argument.GhostscriptExceptionvoid displayUpdate(int x,
int y,
int width,
int height)
throws GhostscriptException
x - X coordinatey - Y coordinatewidth - Widthheight - HeightGhostscriptExceptionCopyright © 2016. All Rights Reserved.