Skip to main content

ColorSpaceGamma Class

Specifies gamma values for a CalRGB color space.

Declaration

public class ColorSpaceGamma 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
ColorSpaceGamma

Constructors

ColorSpaceGamma() Constructor

Initializes a new instance of the ColorSpaceGamma class.

Declaration

public ColorSpaceGamma()

ColorSpaceGamma(double red, double green, double blue) Constructor

Initializes a new instance of the ColorSpaceGamma class with specified gamma values for RGB color components.

Declaration

public ColorSpaceGamma(double red, double green, double blue)

Parameters

Name Type Description
red double

The gamma value for the red component.

green double

The gamma value for the green component.

blue double

The gamma value for the blue component.

Methods

deepClone() Method

Creates a deep copy of the current ColorSpaceGamma object.

Declaration

public ColorSpaceGamma deepClone()

Returns

Type Description
ColorSpaceGamma

A copy of the current object.

getBlue() Method

Returns the gamma value for the blue component.

Declaration

public double getBlue()

Returns

Type Description
double

Gamma value for the blue component.

getGreen() Method

Returns the gamma value for the green component.

Declaration

public double getGreen()

Returns

Type Description
double

Gamma value for the green component.

getRed() Method

Returns the gamma value for the red component.

Declaration

public double getRed()

Returns

Type Description
double

Gamma value for the red component.

objectClone() Method

Creates a copy of the ColorSpaceGamma object.

Declaration

public Object objectClone()

Returns

Type Description
Object

A copy of the current ColorSpaceGamma object.

setBlue(double value) Method

Sets the gamma value for the blue component.

Declaration

public void setBlue(double value)

Parameters

Name Type Description
value double

Gamma value for the blue component.

setGreen(double value) Method

Sets the gamma value for the green component.

Declaration

public void setGreen(double value)

Parameters

Name Type Description
value double

Gamma value for the green component.

setRed(double value) Method

Sets the gamma value for the red component.

Declaration

public void setRed(double value)

Parameters

Name Type Description
value double

Gamma value for the red component.