Skip to main content

LabColorSpace Class

A CIE Lab* (Lab) color space in a PDF document.

Declaration

public class LabColorSpace extends ColorSpace

Remarks

The Lab color space is device-independent and describes colors using three components: lightness (L), green-red (a), and blue-yellow (b). It uses a white point to define the reference illuminant and can optionally specify a black point and valid ranges for the a and b* components.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
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
ColorSpace
LabColorSpace

LabColorSpace()

Initializes a new instance of the LabColorSpace class.

Declaration

public LabColorSpace()

Methods

getBlackPoint() Method

Returns the black point used for the Lab color space.

Declaration

public CIEColor getBlackPoint()

Returns

Type Description
CIEColor

The black point.

getComponentsCount() Method

Returns the number of color components in the Lab color space.

Declaration

public int getComponentsCount()

Returns

Type Description
int

The number of color components. Always returns 3.

getRangeA() Method

Returns the valid range of values for the a* color component.

Declaration

public Range getRangeA()

Returns

Type Description
Range

The valid range of values for the a* color component.

getRangeB() Method

Returns the valid range of values for the b* color component.

Declaration

public Range getRangeB()

Returns

Type Description
Range

The valid range of values for the b* color component.

getWhitePoint() Method

Returns the white point that defines the reference illuminant for the Lab color space.

Declaration

public CIEColor getWhitePoint()

Returns

Type Description
CIEColor

The white point.

setBlackPoint(CIEColor value) Method

Sets the black point used for the Lab color space.

Declaration

public void setBlackPoint(CIEColor value)

Parameters

Name Type Description
value CIEColor

The black point.

setRangeA(Range value) Method

Sets the valid range of values for the a* color component.

Declaration

public void setRangeA(Range value)

Parameters

Name Type Description
value Range

The valid range of values for the a* color component.

setRangeB(Range value) Method

Sets the valid range of values for the b* color component.

Declaration

public void setRangeB(Range value)

Parameters

Name Type Description
value Range

The valid range of values for the b* color component.

setWhitePoint(CIEColor value) Method

Sets the white point that defines the reference illuminant for the Lab color space.

Declaration

public void setWhitePoint(CIEColor value)

Parameters

Name Type Description
value CIEColor

The white point.