public class ColorDataUnit extends Object
Customize the color of the surface.
| Constructor and Description |
|---|
ColorDataUnit() |
| Modifier and Type | Method and Description |
|---|---|
byte |
getB()
Gets or sets the intensity level of blue color (values from 0 to 31).
|
byte |
getG()
Gets or sets the intensity level of green color (values from 0 to 31).
|
byte |
getR()
Gets or sets the intensity level of red color (values from 0 to 31).
|
boolean |
getUseColor()
Gets or sets a value indicating whether the use a color.
|
void |
setB(byte value)
Gets or sets the intensity level of blue color (values from 0 to 31).
|
void |
setG(byte value)
Gets or sets the intensity level of green color (values from 0 to 31).
|
void |
setR(byte value)
Gets or sets the intensity level of red color (values from 0 to 31).
|
void |
setUseColor(boolean value)
Gets or sets a value indicating whether the use a color.
|
public final boolean getUseColor()
Gets or sets a value indicating whether the use a color. True - color is used. False - color is not used.
public final void setUseColor(boolean value)
Gets or sets a value indicating whether the use a color. True - color is used. False - color is not used.
public final byte getR()
Gets or sets the intensity level of red color (values from 0 to 31).
public final void setR(byte value)
Gets or sets the intensity level of red color (values from 0 to 31).
public final byte getG()
Gets or sets the intensity level of green color (values from 0 to 31).
public final void setG(byte value)
Gets or sets the intensity level of green color (values from 0 to 31).
public final byte getB()
Gets or sets the intensity level of blue color (values from 0 to 31).
public final void setB(byte value)
Gets or sets the intensity level of blue color (values from 0 to 31).
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.