public class PNGOutputDevice extends ImageOutputDevice
OutputDevice
generating PNG raster images.Modifier and Type | Class and Description |
---|---|
static class |
PNGOutputDevice.PNGType
This enum determines the type of PNG that is generated.
|
Constructor and Description |
---|
PNGOutputDevice() |
Modifier and Type | Method and Description |
---|---|
protected void |
fillOptions(List<String> options) |
Color |
getBackgroundColor() |
protected String |
getGhostscriptOutputDeviceName() |
String |
getOutputMimeType() |
PNGOutputDevice.PNGType |
getType() |
void |
setBackgroundColor(Color backgroundColor)
Set the PNG background color.
|
void |
setType(PNGOutputDevice.PNGType type)
Set the type of PNG to generate.
|
getGraphicsAlphaBits, getTextAlphaBits, getXResolution, getYResolution, setGraphicsAlphaBits, setResolution, setTextAlphaBits, setXResolution, setYResolution
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
backgroundColor
- public PNGOutputDevice.PNGType getType()
public void setType(PNGOutputDevice.PNGType type)
type
- protected String getGhostscriptOutputDeviceName()
getGhostscriptOutputDeviceName
in class OutputDevice
protected void fillOptions(List<String> options)
fillOptions
in class ImageOutputDevice
public String getOutputMimeType()
getOutputMimeType
in class OutputDevice
Copyright © 2017 levigo holding gmbh. All rights reserved.