SimpleColorFormat

SimpleColorFormat

Overview

SimpleColorFormat is a class in Aspose.Slides FOSS for C++.

A simple concrete implementation of ColorFormat backed by an sRGB color.

This class declares 17 methods for SimpleColorFormat objects in C++ programs. Available methods include: ColorType, PresetColor, SchemeColor, SimpleColorFormat, color, color_type, preset_color, scheme_color, set_color, set_color_type, set_on_changed, set_preset_color, and 1 additional methods. Public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Accessor methods: ColorType, PresetColor, SchemeColor, SimpleColorFormat.

Accessor Methods

NameTypeAccessDescription
SimpleColorFormatSimpleColorFormatReadGets the simple color format.
ColorTypeColorTypeReadGets the color type.
PresetColorPresetColorReadGets the preset color.
SchemeColorSchemeColorReadGets the scheme color.

Methods

SignatureDescription
SimpleColorFormat() → SimpleColorFormatCalls SimpleColorFormat on this SimpleColorFormat instance.
SimpleColorFormat() → SimpleColorFormat
ColorType() → ColorTypeReturns the ColorType enum indicating the format’s color classification
PresetColor() → PresetColorReturns the PresetColor enum representing a predefined color value
SchemeColor() → SchemeColorReturns the SchemeColor enum representing a theme scheme color
SimpleColorFormat()
SimpleColorFormat(other: SimpleColorFormat)Calls SimpleColorFormat(other) on this SimpleColorFormat instance.
SimpleColorFormat(other: SimpleColorFormat)Calls SimpleColorFormat(other) on this SimpleColorFormat instance.
set_on_changed(callback: std::function<void()>)Install a callback invoked whenever this colour changes. Owners that back this colour with XML use it to keep the element in step: the colour is reached through a reference (shadow_color(), solid_fill_color(), …) and mutated without the owner being called at all, so without this there is no moment at which the owner could write the new value out.
color_type() → ColorTypeCalls color_type on this SimpleColorFormat instance.
set_color_type(value: ColorType)Calls set_color_type(value) on this SimpleColorFormat instance.
color() → Drawing::ColorCalls color on this SimpleColorFormat instance.
set_color(value: Drawing::Color)Calls set_color(value) on this SimpleColorFormat instance.
preset_color() → PresetColorCalls preset_color on this SimpleColorFormat instance.
set_preset_color(value: PresetColor)Calls set_preset_color(value) on this SimpleColorFormat instance.
scheme_color() → SchemeColorCalls scheme_color on this SimpleColorFormat instance.
set_scheme_color(value: SchemeColor)Calls set_scheme_color(value) on this SimpleColorFormat instance.

See Also

 English