TensorProductShadingPatch Class
A tensor-product patch with control points and corner colors for mesh shading.
Declaration
public class TensorProductShadingPatch extends JavaObject implements ICloneable
Implements
com.devexpress.system.ICloneable
Inherited Members
com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
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
com.devexpress.system.JavaObject
TensorProductShadingPatch
TensorProductShadingPatch(ObjectArray2D<PointF> controlPoints, PdfColor[] colors)
Initializes a new instance of the TensorProductShadingPatch class with specified settings.
Declaration
public TensorProductShadingPatch(ObjectArray2D<PointF> controlPoints, PdfColor[] colors)
Parameters
| Name | Type | Description |
|---|---|---|
| controlPoints | com.devexpress.java.arrays.ObjectArray2D<com.devexpress.system.drawing.PointF> | A two-dimensional array of control points that define the patch geometry. |
| colors | PdfColor[] | Patch corner colors. |
Methods
deepClone() Method
Creates a deep copy of the current object.
Declaration
public TensorProductShadingPatch deepClone()
Returns
| Type | Description |
|---|---|
TensorProductShadingPatch |
A deep copy of the current object. |
getColors() Method
Returns the array of colors for the patch corners.
Declaration
public PdfColor[] getColors()
Returns
| Type | Description |
|---|---|
| PdfColor[] | Corner colors. |
getControlPoints() Method
Returns control points that define the patch geometry.
Declaration
public ObjectArray2D<PointF> getControlPoints()
Returns
| Type | Description |
|---|---|
| com.devexpress.java.arrays.ObjectArray2D<com.devexpress.system.drawing.PointF> | A two-dimensional array of control point coordinates. |
objectClone() Method
Creates a copy of the current object.
Declaration
public Object objectClone()
Returns
| Type | Description |
|---|---|
| Object | A copy of the current object. |