IColorFormat class
Contents
[
Hide
]IColorFormat class
Represents a color used in a presentation.
The IColorFormat type exposes the following members:
Properties
Property | 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. |
float_g | Returns or sets the green component of a color. All color transformations are ignored. Read/write float. |
float_b | Returns or sets the blue component of a color. All color transformations are ignored. Read/write float. |
hue | Returns or sets the hue component of a color in HSL representation. All color transformations are ignored. Read/write float. |
saturation | Returns or sets the saturation component of a color in HSL representation. All color transformations are ignored. Read/write float. |
luminance | Returns or sets the luminance component of a color in HSL representation. All color transformations are ignored. Read/write float. |
color_transform | Returns the collection of color transformations applied to a color. Read-only IColorOperationCollection . |
Methods
Method | Description |
---|---|
to_string | Returns a str that represents the current color format. |
copy_from | Copy color format from “color”. |
See Also
- module
aspose.slides
- library
Aspose.Slides