AxialShadingFill Class
Defines an axial shading fill.
Declaration
public class AxialShadingFill extends GradientShadingFill
Inherited Members
Inheritance
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 |
| 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 |
|
| extendEnd | boolean |
|
| antiAlias | boolean |
|
| background | PdfColor | The background color, or |
| matrix | DXMatrix | The transformation matrix, or |
| opacity | The shading opacity, or |
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 |
| 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 |
|
| extendEnd | boolean |
|
| antiAlias | boolean |
|
| background | PdfColor | The background color, or |
| matrix | DXMatrix | The transformation matrix, or |
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 |
| 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 |
|
| extendEnd | boolean |
|
| antiAlias | boolean |
|
| background | PdfColor | The background color, or |
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 |
| 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 |
|
| extendEnd | boolean |
|
| antiAlias | boolean |
|
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 |
| 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 |
|
| extendEnd | boolean |
|
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 |
| 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 |
|
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 |
| 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 |
| 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. |