DXColorBlend Class
Color and position data for blending.
Declaration
public class DXColorBlend extends JavaObject
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
DXColorBlend
Constructors
DXColorBlend() Constructor
Initializes a new instance of the DXColorBlend class.
Declaration
public DXColorBlend()
DXColorBlend(int count) Constructor
Initializes a new instance of the DXColorBlend class with specified settings.
Declaration
public DXColorBlend(int count)
Parameters
| Name | Type | Description |
|---|---|---|
| count | int | The number of colors and positions. |
Methods
clone() Method
Creates a copy of this color blend.
Declaration
public DXColorBlend clone()
Returns
| Type | Description |
|---|---|
DXColorBlend |
The cloned |
equals(Object obj) Method
Checks whether this color blend equals the specified object.
Declaration
public boolean equals(Object obj)
Parameters
| Name | Type | Description |
|---|---|---|
| obj | Object | The object to compare with this color blend. |
Returns
| Type | Description |
|---|---|
| boolean |
|
getColors() Method
Returns blend colors.
Declaration
public Color[] getColors()
Returns
| Type | Description |
|---|---|
| com.devexpress.system.drawing.Color[] | Blend colors. |
getPositions() Method
Returns blend positions.
Declaration
public float[] getPositions()
Returns
| Type | Description |
|---|---|
| float[] | Blend positions. |
hashCode() Method
Returns a hash code value for this object.
Declaration
public int hashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code. |
setColors(Color[] value) Method
Specifies blend colors.
Declaration
public void setColors(Color[] value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | com.devexpress.system.drawing.Color[] | Blend colors. |
setPositions(float[] value) Method
Specifies blend positions.
Declaration
public void setPositions(float[] value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | float[] | Blend positions. |