ShadingPattern Class Documentation

class ShadingPattern : Pattern

Namespace:com::datalogics::PDFL

Inherits from:
Pattern
Derived classes:
AxialShadingPattern

Detailed Description

A shading pattern consists of a smoothly varying gradient between two colors.

Member Function Documentation

delete

synchronized void delete(Boolean disposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized void delete()

Returns:

synchronized void

finalize

void finalize()

Returns:

void

getAntiAlias

boolean getAntiAlias()

Returns:

boolean

A flag indicating whether to filter the shading function to prevent aliasing artifacts.

getBackgroundColor

Color getBackgroundColor()

Returns:

Color

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

Rect getBoundingBox()

Returns:

Rect

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.

getColorSpace

ColorSpace getColorSpace()

Returns:

ColorSpace

The color space of a shading pattern. This space is restricted to be any space except a Pattern space.

setAntiAlias

void setAntiAlias(boolean antiAlias)

Parameters

antiAlias: boolean

Returns:

void

A flag indicating whether to filter the shading function to prevent aliasing artifacts.

setBackgroundColor

void setBackgroundColor(Color color)

Parameters

color: Color

Returns:

void

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.

setBoundingBox

void setBoundingBox(Rect boundingBox)

Parameters

boundingBox: Rect

Returns:

void

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.

setColorSpace

void setColorSpace(ColorSpace colorSpace)

Parameters

colorSpace: ColorSpace

Returns:

void

The color space of a shading pattern. This space is restricted to be any space except a Pattern space.

toString

String toString()

Returns:

String

Convert the shading pattern to a string.