CellsColor
Contents
[
Hide
]CellsColor class
Represents all types of color.
Properties
| Name | Type | Description |
|---|---|---|
| IsShapeColor | boolean | Gets and set the color which should apply to cell or shape. The expression of the color of the cell and the shape is dif |
| Type | int | The color type. The value of the property is ColorType integer constant. |
| ThemeColor | ThemeColor | Gets the theme color. Only applies for theme color type. |
| ColorIndex | int | Gets and sets the color index in the color palette. Only applies of indexed color. |
| Color | Color | Gets and sets the RGB color. |
| Argb | int | Gets and sets the color from a 32-bit ARGB value. |
| Transparency | float | Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear). |
Methods
| Name | Description |
|---|---|
| setTintOfShapeColor | Set the tint of the shape color |
CellsColor.IsShapeColor property
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.
Type: boolean
CellsColor.Type property
The color type. The value of the property is ColorType integer constant.
Type: int
CellsColor.ThemeColor property
Gets the theme color. Only applies for theme color type.
Type: ThemeColor
CellsColor.ColorIndex property
Gets and sets the color index in the color palette. Only applies of indexed color.
Type: int
CellsColor.Color property
Gets and sets the RGB color.
Type: Color
CellsColor.Argb property
Gets and sets the color from a 32-bit ARGB value.
Type: int
CellsColor.Transparency property
Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
Type: float
setTintOfShapeColor(tint)
Set the tint of the shape color
| Parameter | Type | Description |
|---|---|---|
| tint | float |