Skip to main content

AxialShadingFill Class

Defines an axial shading fill.

Declaration

public class AxialShadingFill extends GradientShadingFill

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

Constructors

AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart, boolean extendEnd, boolean antiAlias, PdfColor background, DXMatrix matrix, Double opacity) Constructor

Initializes a new axial shading fill with the specified color space, bounding box, axis points, functions, domain, extension settings, anti-alias setting, background color, transformation matrix, and opacity.

Declaration

public AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart, boolean extendEnd, boolean antiAlias, PdfColor background, DXMatrix matrix, Double opacity)

Parameters

Name Type Description
colorSpace ColorSpace

The color space used to interpolate the shading colors.

boundingBox RectangleF

The bounding box that clips the shading, or null to disable clipping.

axisStart com.devexpress.system.drawing.PointF

The start point of the shading axis.

axisEnd com.devexpress.system.drawing.PointF

The end point of the shading axis.

functions java.util.List<CustomFunction>

The color interpolation functions.

domain Range

The input domain for the color interpolation functions.

extendStart boolean

true to extend the shading beyond the start point; otherwise, false.

extendEnd boolean

true to extend the shading beyond the end point; otherwise, false.

antiAlias boolean

true to enable anti-aliasing; otherwise, false.

background PdfColor

The background color, or null if no background is specified.

matrix DXMatrix

The transformation matrix, or null to use the identity matrix.

opacity

The shading opacity, or null to use the default opacity.

AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart, boolean extendEnd, boolean antiAlias, PdfColor background, DXMatrix matrix) Constructor

Initializes a new axial shading fill with the specified color space, bounding box, axis points, functions, domain, extension settings, anti-alias setting, background color, and transformation matrix.

Declaration

public AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart, boolean extendEnd, boolean antiAlias, PdfColor background, DXMatrix matrix)

Parameters

Name Type Description
colorSpace ColorSpace

The color space used to interpolate the shading colors.

boundingBox RectangleF

The bounding box that clips the shading, or null to disable clipping.

axisStart com.devexpress.system.drawing.PointF

The start point of the gradient axis.

axisEnd com.devexpress.system.drawing.PointF

The end point of the gradient axis.

functions java.util.List<CustomFunction>

The color interpolation functions.

domain Range

The input domain for the color interpolation functions.

extendStart boolean

true to extend the shading beyond the start point; otherwise, false.

extendEnd boolean

true to extend the shading beyond the end point; otherwise, false.

antiAlias boolean

true to enable anti-aliasing; otherwise, false.

background PdfColor

The background color, or null if no background is specified.

matrix DXMatrix

The transformation matrix, or null to use the identity matrix.

AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart, boolean extendEnd, boolean antiAlias, PdfColor background) Constructor

Initializes a new axial shading fill with the specified color space, bounding box, axis points, functions, domain, extension settings, anti-alias setting, and background color.

Declaration

public AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart, boolean extendEnd, boolean antiAlias, PdfColor background)

Parameters

Name Type Description
colorSpace ColorSpace

The color space used to interpolate the shading colors.

boundingBox RectangleF

The bounding box that clips the shading, or null to disable clipping.

axisStart com.devexpress.system.drawing.PointF

The start point of the gradient axis.

axisEnd com.devexpress.system.drawing.PointF

The end point of the gradient axis.

functions java.util.List<CustomFunction>

The color interpolation functions.

domain Range

The input domain for the color interpolation functions.

extendStart boolean

true to extend the shading beyond the start point; otherwise, false.

extendEnd boolean

true to extend the shading beyond the end point; otherwise, false.

antiAlias boolean

true to enable anti-aliasing; otherwise, false.

background PdfColor

The background color, or null if no background is specified.

AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart, boolean extendEnd, boolean antiAlias) Constructor

Initializes a new axial shading fill with the specified color space, bounding box, axis points, functions, domain, extension settings, and anti-alias setting.

Declaration

public AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart, boolean extendEnd, boolean antiAlias)

Parameters

Name Type Description
colorSpace ColorSpace

The color space used to interpolate the shading colors.

boundingBox RectangleF

The bounding box that clips the shading, or null to disable clipping.

axisStart com.devexpress.system.drawing.PointF

The start point of the gradient axis.

axisEnd com.devexpress.system.drawing.PointF

The end point of the gradient axis.

functions java.util.List<CustomFunction>

The color interpolation functions.

domain Range

The input domain for the color interpolation functions.

extendStart boolean

true to extend the shading beyond the start point; otherwise, false.

extendEnd boolean

true to extend the shading beyond the end point; otherwise, false.

antiAlias boolean

true to enable anti-aliasing; otherwise, false.

AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart, boolean extendEnd) Constructor

Initializes a new axial shading fill with the specified color space, bounding box, axis points, functions, domain, and extension settings.

Declaration

public AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart, boolean extendEnd)

Parameters

Name Type Description
colorSpace ColorSpace

The color space used to interpolate the shading colors.

boundingBox RectangleF

The bounding box that clips the shading, or null to disable clipping.

axisStart com.devexpress.system.drawing.PointF

The start point of the gradient axis.

axisEnd com.devexpress.system.drawing.PointF

The end point of the gradient axis.

functions java.util.List<CustomFunction>

The color interpolation functions.

domain Range

The input domain for the color interpolation functions.

extendStart boolean

true to extend the shading beyond the start point; otherwise, false.

extendEnd boolean

true to extend the shading beyond the end point; otherwise, false.

AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart) Constructor

Initializes a new axial shading fill with the specified color space, bounding box, axis points, functions, domain, and start extension setting.

Declaration

public AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain, boolean extendStart)

Parameters

Name Type Description
colorSpace ColorSpace

The color space used to interpolate the shading colors.

boundingBox RectangleF

The bounding box that clips the shading, or null to disable clipping.

axisStart com.devexpress.system.drawing.PointF

The start point of the gradient axis.

axisEnd com.devexpress.system.drawing.PointF

The end point of the gradient axis.

functions java.util.List<CustomFunction>

The color interpolation functions.

domain Range

The input domain for the color interpolation functions.

extendStart boolean

true to extend the shading beyond the start point; otherwise, false.

AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain) Constructor

Initializes a new axial shading fill with the specified color space, bounding box, axis points, functions, and domain.

Declaration

public AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions, Range domain)

Parameters

Name Type Description
colorSpace ColorSpace

The color space used to interpolate the shading colors.

boundingBox RectangleF

The bounding box that clips the shading, or null to disable clipping.

axisStart com.devexpress.system.drawing.PointF

The start point of the gradient axis.

axisEnd com.devexpress.system.drawing.PointF

The end point of the gradient axis.

functions java.util.List<CustomFunction>

The color interpolation functions.

domain Range

The input domain for the color interpolation functions.

AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions) Constructor

Initializes a new axial shading fill with the specified color space, bounding box, axis points, and functions.

Declaration

public AxialShadingFill(ColorSpace colorSpace, RectangleF boundingBox, PointF axisStart, PointF axisEnd, List<CustomFunction> functions)

Parameters

Name Type Description
colorSpace ColorSpace

The color space used to interpolate the shading colors.

boundingBox RectangleF

The bounding box that clips the shading, or null to disable clipping.

axisStart com.devexpress.system.drawing.PointF

The start point of the gradient axis.

axisEnd com.devexpress.system.drawing.PointF

The end point of the gradient axis.

functions java.util.List<CustomFunction>

The color interpolation functions.

Methods

deepClone() Method

Creates a deep copy of the axial shading fill.

Declaration

public Fill deepClone()

Returns

Type Description
Fill

A deep copy of the axial shading fill.

getAxisEnd() Method

Returns the axial shading end point.

Declaration

public PointF getAxisEnd()

Returns

Type Description
com.devexpress.system.drawing.PointF

The axial shading end point.

getAxisStart() Method

Returns the axial shading start point.

Declaration

public PointF getAxisStart()

Returns

Type Description
com.devexpress.system.drawing.PointF

The axial shading start point.