IColorFormat class

IColorFormat class

Represents a color used in a presentation.

The IColorFormat type exposes the following members:

Properties

PropertyDescription
color_typeReturns or sets the color definition method.
Read/write ColorType.
colorReturns resulting color (with all color transformations applied).
Sets RGB colors and clears all color transformations.
Read/write aspose.pydrawing.Color.
preset_colorReturns or sets the color preset.
Read/write PresetColor.
system_colorReturns or sets the color identified by the system color table.
Read/write SystemColor.
scheme_colorReturns or sets the color identified by a color scheme.
Read/write SchemeColor.
rReturns or sets the red component of a color. All color transformations are ignored.
Read/write int.
gReturns or sets the green component of a color. All color transformations are ignored.
Read/write int.
bReturns or sets the blue component of a color. All color transformations are ignored.
Read/write int.
float_rReturns or sets the red component of a color. All color transformations are ignored.
Read/write float.
float_gReturns or sets the green component of a color. All color transformations are ignored.
Read/write float.
float_bReturns or sets the blue component of a color. All color transformations are ignored.
Read/write float.
hueReturns or sets the hue component of a color in HSL representation.
All color transformations are ignored.
Read/write float.
saturationReturns or sets the saturation component of a color in HSL representation.
All color transformations are ignored.
Read/write float.
luminanceReturns or sets the luminance component of a color in HSL representation.
All color transformations are ignored.
Read/write float.
color_transformReturns the collection of color transformations applied to a color.
Read-only IColorOperationCollection.

Methods

MethodDescription
to_stringReturns a str that represents the current color format.
copy_fromCopy color format from “color”.

See Also