Skip to main content

FunctionBasedShadingFill Class

Defines a function-based shading fill.

Declaration

public class FunctionBasedShadingFill extends ShadingFill

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
Fill
ShadingFill
FunctionBasedShadingFill

Constructors

FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX, Range domainY, boolean antiAlias, PdfColor background, DXMatrix matrix, Double opacity) Constructor

Initializes a new function-based shading fill with the specified color space, bounding box, functions, domain ranges, anti-alias setting, background color, transformation matrix, and opacity.

Declaration

public FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX, Range domainY, boolean antiAlias, PdfColor background, DXMatrix matrix, Double opacity)

Parameters

Name Type Description
colorSpace ColorSpace

The shading fill color space.

boundingBox RectangleF

The shading fill bounding box.

functions java.util.List<CustomFunction>

The shading functions.

domainX Range

The X-domain range.

domainY Range

The Y-domain range.

antiAlias boolean

The anti-alias setting.

background PdfColor

The shading fill background color.

matrix DXMatrix

The shading fill transformation matrix.

opacity

The shading fill opacity.

FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX, Range domainY, boolean antiAlias, PdfColor background, DXMatrix matrix) Constructor

Initializes a new function-based shading fill with the specified color space, bounding box, functions, domain ranges, anti-alias setting, background color, and transformation matrix.

Declaration

public FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX, Range domainY, boolean antiAlias, PdfColor background, DXMatrix matrix)

Parameters

Name Type Description
colorSpace ColorSpace

The shading fill color space.

boundingBox RectangleF

The shading fill bounding box.

functions java.util.List<CustomFunction>

The shading functions.

domainX Range

The X-domain range.

domainY Range

The Y-domain range.

antiAlias boolean

The anti-alias setting.

background PdfColor

The shading fill background color.

matrix DXMatrix

The shading fill transformation matrix.

FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX, Range domainY, boolean antiAlias, PdfColor background) Constructor

Initializes a new function-based shading fill with the specified color space, bounding box, functions, domain ranges, anti-alias setting, and background color.

Declaration

public FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX, Range domainY, boolean antiAlias, PdfColor background)

Parameters

Name Type Description
colorSpace ColorSpace

The shading fill color space.

boundingBox RectangleF

The shading fill bounding box.

functions java.util.List<CustomFunction>

The shading functions.

domainX Range

The X-domain range.

domainY Range

The Y-domain range.

antiAlias boolean

The anti-alias setting.

background PdfColor

The shading fill background color.

FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX, Range domainY, boolean antiAlias) Constructor

Initializes a new function-based shading fill with the specified color space, bounding box, functions, domain ranges, and anti-alias setting.

Declaration

public FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX, Range domainY, boolean antiAlias)

Parameters

Name Type Description
colorSpace ColorSpace

The shading fill color space.

boundingBox RectangleF

The shading fill bounding box.

functions java.util.List<CustomFunction>

The shading functions.

domainX Range

The X-domain range.

domainY Range

The Y-domain range.

antiAlias boolean

The anti-alias setting.

FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX, Range domainY) Constructor

Initializes a new function-based shading fill with the specified color space, bounding box, functions, and domain ranges.

Declaration

public FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX, Range domainY)

Parameters

Name Type Description
colorSpace ColorSpace

The shading fill color space.

boundingBox RectangleF

The shading fill bounding box.

functions java.util.List<CustomFunction>

The shading functions.

domainX Range

The X-domain range.

domainY Range

The Y-domain range.

FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX) Constructor

Initializes a new function-based shading fill with the specified color space, bounding box, functions, and X-domain range.

Declaration

public FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions, Range domainX)

Parameters

Name Type Description
colorSpace ColorSpace

The shading fill color space.

boundingBox RectangleF

The shading fill bounding box.

functions java.util.List<CustomFunction>

The shading functions.

domainX Range

The X-domain range.

FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions) Constructor

Initializes a new function-based shading fill with the specified color space, bounding box, and functions.

Declaration

public FunctionBasedShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CustomFunction> functions)

Parameters

Name Type Description
colorSpace ColorSpace

The shading fill color space.

boundingBox RectangleF

The shading fill bounding box.

functions java.util.List<CustomFunction>

The shading functions.

Methods

deepClone() Method

Creates a deep copy of the function-based shading fill.

Declaration

public Fill deepClone()

Returns

Type Description
Fill

A deep copy of the function-based shading fill.

getDomainX() Method

Returns the X-domain range.

Declaration

public Range getDomainX()

Returns

Type Description
Range

The X-domain range.

getDomainY() Method

Returns the Y-domain range.

Declaration

public Range getDomainY()

Returns

Type Description
Range

The Y-domain range.

getFunctions() Method

Returns the shading functions.

Declaration

public List<CustomFunction> getFunctions()

Returns

Type Description
java.util.List<CustomFunction>

The shading functions.