public class CellsColor
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
int |
getArgb()
Gets the color from a 32-bit ARGB value.
|
Color |
getColor()
Gets the RGB color.
|
int |
getColorIndex()
Gets the color index in the color palette.
|
ThemeColor |
getThemeColor()
Gets the theme color.
|
double |
getTransparency()
Gets transparency as a value from 0.0 (opaque) through 1.0 (clear).
|
int |
getType()
The color type.
|
boolean |
isShapeColor()
Gets the color which should apply to cell or shape.
|
void |
setArgb(int value)
Sets the color from a 32-bit ARGB value.
|
void |
setColor(Color value)
Sets the RGB color.
|
void |
setColorIndex(int value)
Sets the color index in the color palette.
|
void |
setShapeColor(boolean value)
Sets the color which should apply to cell or shape.
|
void |
setThemeColor(ThemeColor value)
Gets the theme color.
|
void |
setTintOfShapeColor(double tint)
Set the tint of the shape color
|
void |
setTransparency(double value)
Sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
|
public boolean isShapeColor()
Remarks
The expression of the color of the cell and the shape is different. For example: the theme color with same tint value will be not same in the cell and the shape.public void setShapeColor(boolean value)
Remarks
The expression of the color of the cell and the shape is different. For example: the theme color with same tint value will be not same in the cell and the shape.public int getType()
See ColorType.
public ThemeColor getThemeColor()
public void setThemeColor(ThemeColor value)
public int getColorIndex()
public void setColorIndex(int value)
public Color getColor()
public void setColor(Color value)
public int getArgb()
public void setArgb(int value)
public double getTransparency()
public void setTransparency(double value)
public void setTintOfShapeColor(double tint)
tint - See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.