public class OutputPreviewOptions extends Object
Modifier and Type | Field and Description |
---|---|
static Color |
DEFAULT_BACKGROUND_COLOR
The default background color in Output Preview.
|
static String |
DEFAULT_COLORSPACE
The name of the default color space in Output Preview.
|
static boolean |
DEFAULT_SIMULATE_OVERPRINT
The default value for simulating overprint in Output Preview.
|
static boolean |
DEFAULT_USE_BACKGROUND
The default setting for displaying the background in Output Preview.
|
Constructor and Description |
---|
OutputPreviewOptions() |
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor()
Gets the background color used in the output preview when
isUseBackgroundColor is also true. |
String |
getColorSpaceName()
Get the name of the ColorSpace to use in the output preview.
|
boolean |
isSimulateOverprinting()
Returns true if overprinting is simulated in the output preview.
|
boolean |
isUseBackgroundColor()
Returns true if the background color is shown in the output preview.
|
void |
setBackgroundColor(Color backgroundColor)
Sets the background color used in the output preview.
|
void |
setColorSpaceName(String colorSpaceName)
Set the name of the ColorSpace to use in the output preview.
|
void |
setSimulateOverprinting(boolean simulateOverprinting)
Set to true to simulate overprinting in the output preview.
|
void |
setUseBackgroundColor(boolean useBackgroundColor)
Set to true to show the background color in the output preview.
|
public static final String DEFAULT_COLORSPACE
public static final boolean DEFAULT_SIMULATE_OVERPRINT
public static final boolean DEFAULT_USE_BACKGROUND
public static final Color DEFAULT_BACKGROUND_COLOR
public String getColorSpaceName()
public void setColorSpaceName(String colorSpaceName)
colorSpaceName
- the name of the ColorSpace to use in the output preview.public boolean isSimulateOverprinting()
public void setSimulateOverprinting(boolean simulateOverprinting)
simulateOverprinting
- Set to true to simulate overprinting in the output preview.public boolean isUseBackgroundColor()
public void setUseBackgroundColor(boolean useBackgroundColor)
useBackgroundColor
- Set to true to show the background color in the output preview.public Color getBackgroundColor()
isUseBackgroundColor
is also true.public void setBackgroundColor(Color backgroundColor)
isUseBackgroundColor
has also been set to true.
The background color is light yellow by default.backgroundColor
- the color used in the output preview.