Package org.apache.fop.render.java2d
Class Java2DRenderingSettings
java.lang.Object
org.apache.fop.render.java2d.Java2DRenderingSettings
- Direct Known Subclasses:
BitmapRenderingSettings
This class holds settings used when rendering with Java2D.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Color
false: paints a non-transparent white background, true: for a transparent background -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the page background color.boolean
Indicates whether the pages have a transparent background or if it's painted in a particular color.void
setPageBackgroundColor
(Color color) Sets the page background color.
-
Field Details
-
pageBackgroundColor
false: paints a non-transparent white background, true: for a transparent background
-
-
Constructor Details
-
Java2DRenderingSettings
public Java2DRenderingSettings()
-
-
Method Details
-
getPageBackgroundColor
Returns the page background color.- Returns:
- the page background color or null if the page background is transparent
-
setPageBackgroundColor
Sets the page background color.- Parameters:
color
- the page background color or null if the page background shall be transparent
-
hasTransparentPageBackground
public boolean hasTransparentPageBackground()Indicates whether the pages have a transparent background or if it's painted in a particular color.- Returns:
- true if the pages have a transparent background
-