com.aspose.cells
Class CellsColor

java.lang.Object
    extended by com.aspose.cells.CellsColor

public class CellsColor 
extends java.lang.Object

Represents all types of color.

Property Getters/Setters Summary
com.aspose.cells.ColorgetColor()
voidsetColor(com.aspose.cells.Color value)
           Gets and sets the RGB color.
intgetColorIndex()
voidsetColorIndex(int value)
           Gets and sets the color index in the color palette.. Only applies of indexed color.
booleanisShapeColor()
voidsetShapeColor(boolean value)
           Gets and set the color which should apply to cell or shape.
ThemeColorgetThemeColor()
voidsetThemeColor(ThemeColor value)
           Gets the theme color. Only applies for theme color type.
intgetType()
           The color type. The value of the property is ColorType integer constant.
 
Method Summary
voidsetTintOfShapeColor(double tint)
           Set the tint of the shape 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 exampe :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.

Method Detail

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.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.