AxialShadingPattern Class Documentation

classAxialShadingPattern : ShadingPattern

Namespace:com::datalogics::PDFL

Inherits from:
ShadingPattern

Detailed Description

A color blend that varies along an axis. An axial shading specifies a color blend that varies along a linear axis between two endpoints, and indefinitely perpendicular to that axis.

Constructor & Destructor Documentation

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.

getDomain

java.util.List< Double >getDomain()

Returns:

java.util.List< Double >

A array of two numbers that specify the limiting values of the parametric variable t. This variable t varies linearly between these two values as a the gradient varies between the starting and ending points of the axis.

Defaults to [0, 1]. May be NULL.

getExtend

java.util.List< Boolean >getExtend()

Returns:

java.util.List< Boolean >

An array of two boolean values indicating whether to extend the shading beyond the starting and ending points of the axis, respectively.

Default value: [false, false]. May be NULL.

getFunction

Returns:

java.util.List< Function >

One 1-in n-out function, or an array of n 1-in 1-out functions that determine the values of the color channels, where n is the number of color components in the shading's color space. The functions are called with a parametric variable t which varies across the Domain.

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.

setDomain

voidsetDomain(java.util.List< Double >domain)

Parameters

domain: java.util.List< Double >

Returns:

void

A array of two numbers that specify the limiting values of the parametric variable t. This variable t varies linearly between these two values as a the gradient varies between the starting and ending points of the axis.

Defaults value: [0, 1]. May be NULL.

setExtend

voidsetExtend(java.util.List< Boolean >extend)

Parameters

extend: java.util.List< Boolean >

Returns:

void

An array of two boolean values indicating whether to extend the shading beyond the starting and ending points of the axis, respectively.

Default value: [false, false]. May be NULL.

setFunction

voidsetFunction(java.util.List< Function >function)

Parameters

Returns:

void

One 1-in n-out function, or an array of n 1-in 1-out functions that determine the values of the color channels, where n is the number of color components in the shading's color space. The functions are called with a parametric variable t which varies across the Domain.

toString

StringtoString()

Returns:

String

Return a string representation of the AxialShadingPattern.