JavaScript is disabled on your browser.
java.lang.Object
com.aspose.cells.CellsColor
public class CellsColor extends java.lang.Object
Represents all types of color.
Property Getters/Setters Detail
isShapeColor/setShapeColor
public boolean isShapeColor () / public void setShapeColor (boolean value)
Gets and set the color which should apply to cell or shape.
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.
getType
public int getType ()
The color type.
The value of the property is ColorType integer constant.
getThemeColor/setThemeColor
public ThemeColor getThemeColor () / public void setThemeColor (ThemeColor value)
Gets the theme color. Only applies for theme color type.
getColorIndex/setColorIndex
public int getColorIndex () / public void setColorIndex (int value)
Gets and sets the color index in the color palette. Only applies of indexed color.
getColor/setColor
public com.aspose.cells.Color getColor () / public void setColor (com.aspose.cells.Color value)
Gets and sets the RGB color.
getArgb/setArgb
public int getArgb () / public void setArgb (int value)
Gets and sets the color from a 32-bit ARGB value.
getTransparency/setTransparency
public double getTransparency () / public void setTransparency (double value)
Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
setTintOfShapeColor
public void setTintOfShapeColor (double tint)
Set the tint of the shape color
Parameters: tint
-
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.