IColorFormat

IColorFormat class

Represents a color used in a presentation.

The IColorFormat type exposes the following members:

Properties

Name Description
color_type Returns or sets the color definition method.
Read/write ColorType.
color Returns resulting color (with all color transformations applied).
Sets RGB colors and clears all color transformations.
Read/write aspose.pydrawing.Color.
preset_color Returns or sets the color preset.
Read/write PresetColor.
system_color Returns or sets the color identified by the system color table.
Read/write SystemColor.
scheme_color Returns or sets the color identified by a color scheme.
Read/write SchemeColor.
r Returns or sets the red component of a color. All color transformations are ignored.
Read/write int.
g Returns or sets the green component of a color. All color transformations are ignored.
Read/write int.
b Returns or sets the blue component of a color. All color transformations are ignored.
Read/write int.
float_r Returns or sets the red component of a color. All color transformations are ignored.
Read/write
float_g Returns or sets the green component of a color. All color transformations are ignored.
Read/write
float_b Returns or sets the blue component of a color. All color transformations are ignored.
Read/write
hue Returns or sets the hue component of a color in HSL representation.
All color transformations are ignored.
Read/write
saturation Returns or sets the saturation component of a color in HSL representation.
All color transformations are ignored.
Read/write
luminance Returns or sets the luminance component of a color in HSL representation.
All color transformations are ignored.
Read/write
color_transform Returns the collection of color transformations applied to a color.
Read-only IColorOperationCollection.
as_i_fill_param_source Returns IFillParamSource interface.
Read-only IFillParamSource.

Methods

Name Description
to_string(format) Returns a string that represents the current color format.
copy_from(color) Copy color format from “color”.

See Also