CoonsPatchMeshShadingFill Class
Defines a Coons patch mesh shading fill.
Declaration
public class CoonsPatchMeshShadingFill extends ShadingFill
Remarks
Refer to the following help topic for additional information: Add a Bézier Curve.
Inherited Members
Inheritance
Constructors
CoonsPatchMeshShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CoonsShadingPatch> patches, boolean antiAlias, PdfColor background, DXMatrix matrix, Double opacity) Constructor
Initializes a new Coons patch mesh shading fill with the specified color space, bounding box, patches, anti-alias setting, background color, transformation matrix, and opacity.
Declaration
public CoonsPatchMeshShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CoonsShadingPatch> patches, boolean antiAlias, PdfColor background, DXMatrix matrix, Double opacity)
Parameters
| Name | Type | Description |
|---|---|---|
| colorSpace | ColorSpace | The color space used to interpolate shading colors. |
| boundingBox | RectangleF | The bounding box that clips the shading, or |
| patches | java.util.List<CoonsShadingPatch> | Patches that define the shading mesh. |
| antiAlias | boolean |
|
| background | PdfColor | The background color, or |
| matrix | DXMatrix | The transformation matrix, or |
| opacity | The shading opacity, or |
CoonsPatchMeshShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CoonsShadingPatch> patches, boolean antiAlias, PdfColor background, DXMatrix matrix) Constructor
Initializes a new Coons patch mesh shading fill with the specified color space, bounding box, patches, anti-alias setting, background color, and transformation matrix.
Declaration
public CoonsPatchMeshShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CoonsShadingPatch> patches, boolean antiAlias, PdfColor background, DXMatrix matrix)
Parameters
| Name | Type | Description |
|---|---|---|
| colorSpace | ColorSpace | The color space used to interpolate shading colors. |
| boundingBox | RectangleF | The bounding box that clips the shading, or |
| patches | java.util.List<CoonsShadingPatch> | Patches that define the shading mesh. |
| antiAlias | boolean |
|
| background | PdfColor | The background color, or |
| matrix | DXMatrix | The transformation matrix, or |
CoonsPatchMeshShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CoonsShadingPatch> patches, boolean antiAlias, PdfColor background) Constructor
Initializes a new Coons patch mesh shading fill with the specified color space, bounding box, patches, anti-alias setting, and background color.
Declaration
public CoonsPatchMeshShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CoonsShadingPatch> patches, boolean antiAlias, PdfColor background)
Parameters
| Name | Type | Description |
|---|---|---|
| colorSpace | ColorSpace | The color space used to interpolate shading colors. |
| boundingBox | RectangleF | The bounding box that clips the shading, or |
| patches | java.util.List<CoonsShadingPatch> | Patches that define the shading mesh. |
| antiAlias | boolean |
|
| background | PdfColor | The background color, or |
CoonsPatchMeshShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CoonsShadingPatch> patches, boolean antiAlias) Constructor
Initializes a new Coons patch mesh shading fill with the specified color space, bounding box, patches, and anti-alias setting.
Declaration
public CoonsPatchMeshShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CoonsShadingPatch> patches, boolean antiAlias)
Parameters
| Name | Type | Description |
|---|---|---|
| colorSpace | ColorSpace | The color space used to interpolate shading colors. |
| boundingBox | RectangleF | The bounding box that clips the shading, or |
| patches | java.util.List<CoonsShadingPatch> | Patches that define the shading mesh. |
| antiAlias | boolean |
|
CoonsPatchMeshShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CoonsShadingPatch> patches) Constructor
Initializes a new Coons patch mesh shading fill with the specified color space, bounding box, and patches.
Declaration
public CoonsPatchMeshShadingFill(ColorSpace colorSpace, RectangleF boundingBox, List<CoonsShadingPatch> patches)
Parameters
| Name | Type | Description |
|---|---|---|
| colorSpace | ColorSpace | The color space used to interpolate shading colors. |
| boundingBox | RectangleF | The bounding box that clips the shading, or |
| patches | java.util.List<CoonsShadingPatch> | Patches that define the shading mesh. |
Methods
deepClone() Method
Creates a deep copy of the Coons patch mesh shading fill.
Declaration
public Fill deepClone()
Returns
| Type | Description |
|---|---|
| Fill | A deep copy of the Coons patch mesh shading fill. |
getPatches() Method
Returns the Coons shading patches.
Declaration
public List<CoonsShadingPatch> getPatches()
Returns
| Type | Description |
|---|---|
| java.util.List<CoonsShadingPatch> | The Coons shading patches. |