Class: ColorBuilder
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/color/color.ts:21
Constructors
new ColorBuilder()
new ColorBuilder(): ColorBuilder
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/color/color.ts:32
Returns
Methods
asRgbColor()
asRgbColor(): RgbColor
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/color/color.ts:38
Returns
asThemeColor()
asThemeColor(): ThemeColor
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/color/color.ts:42
Returns
build()
build(): Nullable<Color>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/color/color.ts:46
Returns
getColorType()
getColorType(): ColorType
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/color/color.ts:82
Returns
setRgbColor()
setRgbColor(cssString): ColorBuilder
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/color/color.ts:60
Parameters
Parameter | Type |
---|---|
cssString | string |
Returns
setThemeColor()
setThemeColor(theme): ColorBuilder
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/color/color.ts:76
Parameters
Parameter | Type |
---|---|
theme | ThemeColorType |
Returns
setThemeColors()
setThemeColors(value): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/color/color.ts:66
Parameters
Parameter | Type |
---|---|
value | ThemeColors |
Returns
void
setThemeTint()
setThemeTint(value): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/color/color.ts:71
Parameters
Parameter | Type |
---|---|
value | number |
Returns
void