CellsColor
Contents
[
Hide
]CellsColor class
Represents all types of color.
class CellsColor;
Properties
Property | Type | Description |
---|---|---|
isShapeColor | boolean | Gets and set the color which should apply to cell or shape. |
type | ColorType | Readonly. The color type. |
themeColor | ThemeColor | Gets the theme color. Only applies for theme color type. |
colorIndex | number | Gets and sets the color index in the color palette. Only applies of indexed color. |
color | Color | Gets and sets the RGB color. |
argb | number | Gets and sets the color from a 32-bit ARGB value. |
transparency | number | Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear). |
Methods
Method | Description |
---|---|
setTintOfShapeColor(number) | Set the tint of the shape color |
isShapeColor
Gets and set the color which should apply to cell or shape.
isShapeColor : boolean;
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.
type
Readonly. The color type.
type : ColorType;
themeColor
Gets the theme color. Only applies for theme color type.
themeColor : ThemeColor;
colorIndex
Gets and sets the color index in the color palette. Only applies of indexed color.
colorIndex : number;
color
Gets and sets the RGB color.
color : Color;
argb
Gets and sets the color from a 32-bit ARGB value.
argb : number;
transparency
Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
transparency : number;
setTintOfShapeColor(number)
Set the tint of the shape color
setTintOfShapeColor(tint: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
tint | number |