ShadingPattern Class Documentation
classShadingPattern : PatternNamespace:com::datalogics::PDFL
- Inherits from:
Pattern
- Derived classes:
- AxialShadingPattern
Detailed Description
A shading pattern consists of a smoothly varying gradient between two colors.
Uses types
Member Function Documentation
DisposeChildren
voidDisposeChildren()Returns:
void[static initializer]
static void[static initializer]()delete
synchronized voiddelete(Booleandisposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized voiddelete()Returns:
synchronized voidfinalize
voidfinalize()Returns:
voidgetAntiAlias
booleangetAntiAlias()Returns:
booleanA flag indicating whether to filter the shading function to prevent aliasing artifacts.
getBackgroundColor
ColorgetBackgroundColor()Returns:
ColorThe 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
RectgetBoundingBox()Returns:
RectThe 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.
getColorSpace
ColorSpacegetColorSpace()Returns:
ColorSpaceThe color space of a shading pattern. This space is restricted to be any space except a Pattern space.
getPDFObject
PDFObjectgetPDFObject()Returns:
PDFObjectsetAntiAlias
voidsetAntiAlias(booleanantiAlias)Parameters
antiAlias: boolean
Returns:
voidA flag indicating whether to filter the shading function to prevent aliasing artifacts.
setBackgroundColor
voidsetBackgroundColor(Colorcolor)Parameters
color: Color
Returns:
voidThe 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.
setBoundingBox
voidsetBoundingBox(RectboundingBox)Parameters
boundingBox: Rect
Returns:
voidThe 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.
setColorSpace
voidsetColorSpace(ColorSpacecolorSpace)Parameters
colorSpace: ColorSpace
Returns:
voidThe color space of a shading pattern. This space is restricted to be any space except a Pattern space.
toString
StringtoString()Returns:
StringConvert the shading pattern to a string.