Package com.datalogics.PDFL
Class ShadingPattern
java.lang.Object
com.datalogics.PDFL.Pattern
com.datalogics.PDFL.ShadingPattern
- Direct Known Subclasses:
AxialShadingPattern
A shading pattern consists of a smoothly varying gradient between two colors.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleanA flag indicating whether to filter the shading function to prevent aliasing artifacts.The background color of the shading pattern.The bounding box of the shading.The color space of a shading pattern.voidsetAntiAlias(boolean antiAlias) A flag indicating whether to filter the shading function to prevent aliasing artifacts.voidsetBackgroundColor(Color color) The background color of the shading pattern.voidsetBoundingBox(Rect boundingBox) The bounding box of the shading.voidsetColorSpace(ColorSpace colorSpace) The color space of a shading pattern.toString()Convert the shading pattern to a string.Methods inherited from class com.datalogics.PDFL.Pattern
getPDFObject
-
Method Details
-
delete
public void delete() -
toString
Convert the shading pattern to a string. -
getColorSpace
The color space of a shading pattern. This space is restricted to be any space except a Pattern space. -
setColorSpace
The color space of a shading pattern. This space is restricted to be any space except a Pattern space. -
getBackgroundColor
The background color of the shading pattern. This color must be in the color space of the shading pattern. If present, it is used to fill the areas that are outside the bounds of the shading object. May be NULL. -
setBackgroundColor
The background color of the shading pattern. This color must be in the color space of the shading pattern. If present, it is used to fill the areas that are outside the bounds of the shading object. May be NULL. -
getBoundingBox
The bounding box of the shading. The coordinates are interpreted in the target coordinate space. If present, provides an additional, temporary clipping boundary to the shading. -
setBoundingBox
The bounding box of the shading. The coordinates are interpreted in the target coordinate space. If present, provides an additional, temporary clipping boundary to the shading. -
getAntiAlias
public boolean getAntiAlias()A flag indicating whether to filter the shading function to prevent aliasing artifacts. -
setAntiAlias
public void setAntiAlias(boolean antiAlias) A flag indicating whether to filter the shading function to prevent aliasing artifacts.
-