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
intgetArgb()
voidsetArgb(int)
           Gets and sets the color from a 32-bit ARGB value.
com.aspose.cells.ColorgetColor()
voidsetColor(com.aspose.cells.Color)
           Gets and sets the RGB color.
intgetColorIndex()
voidsetColorIndex(int)
           Gets and sets the color index in the color palette. Only applies of indexed color.
booleanisShapeColor()
voidsetShapeColor(boolean)
           Gets and set the color which should apply to cell or shape.
ThemeColorgetThemeColor()
voidsetThemeColor(ThemeColor)
           Gets the theme color. Only applies for theme color type.
doublegetTransparency()
voidsetTransparency(double)
           Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
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 example: the theme color with same tint value will be not same in the cell and the shape.

setShapeColor

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.

setThemeColor

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.

setColorIndex

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.

setColor

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.

setArgb

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).

setTransparency

public void setTransparency(double value)
Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).

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