ShadingPattern Class Documentation

classShadingPattern : 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

DisposeChildren

voidDisposeChildren()

Returns:

void

[static initializer]

static void[static initializer]()

delete

synchronized voiddelete(Booleandisposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized voiddelete()

Returns:

synchronized void

finalize

voidfinalize()

Returns:

void

getAntiAlias

booleangetAntiAlias()

Returns:

boolean

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

getBackgroundColor

ColorgetBackgroundColor()

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

RectgetBoundingBox()

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

ColorSpacegetColorSpace()

Returns:

ColorSpace

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

setAntiAlias

voidsetAntiAlias(booleanantiAlias)

Parameters

antiAlias: boolean

Returns:

void

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

setBackgroundColor

voidsetBackgroundColor(Colorcolor)

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

voidsetBoundingBox(RectboundingBox)

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

voidsetColorSpace(ColorSpacecolorSpace)

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

StringtoString()

Returns:

String

Convert the shading pattern to a string.