AlphaColorTransform Class
A color transformation that changes the color’s alpha channel.
Declaration
public class AlphaColorTransform extends ValueColorTransformBase
Inherited Members
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
JavaObject
ColorTransformBase
ValueColorTransformBase
AlphaColorTransform
AlphaColorTransform(float value)
Initializes a new instance of the AlphaColorTransform class with specified settings.
Declaration
public AlphaColorTransform(float value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | float | The alpha value. A value between -1 and 1. |
Methods
clone() Method
Creates a copy of the current AlphaColorTransform object.
Declaration
public AlphaColorTransform clone()
Returns
| Type | Description |
|---|---|
AlphaColorTransform |
The copy of the current |
cloneCore() Method
When overridden in a derived class, creates a copy of the current object.
Declaration
public ColorTransformBase cloneCore()
Returns
| Type | Description |
|---|---|
| ColorTransformBase | A copy of the current object with base values. |
Remarks
This method is called by the clone() method and should not be called directly from your code.
createFromAlpha(int a) Method
Creates an AlphaColorTransform object with the specified alpha value.
Declaration
public static AlphaColorTransform createFromAlpha(int a)
Parameters
| Name | Type | Description |
|---|---|---|
| a | int | The alpha component of the color. The value must range from |
Returns
| Type | Description |
|---|---|
AlphaColorTransform |
An |