IColorFormat
General
IColorFormat és una interfície en Aspose.Slides per a NET.
Representa un format de color utilitzat en els elements de presentació.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
ColorType | ColorType | Read/Write | Indicates the type of color (e.g., scheme, preset, custom) |
Color | Color? | Read/Write | Gets or sets the ARGB color value, nullable if not defined |
PresetColor | PresetColor | Read/Write | Represents a predefined color from the PresetColor enumeration |
SchemeColor | SchemeColor | Read/Write | Specifies a color defined by the slide’s color scheme |
R | int | Read/Write | Returns the red component (0‑255) of the color |
G | int | Read/Write | Returns the green component (0‑255) of the color |
B | int | Read/Write | Returns the blue component (0‑255) of the color |
FloatR | float | Read/Write | Returns the red component as a float (0.0‑1.0) |
FloatG | float | Read/Write | Returns the green component as a float (0.0‑1.0) |
FloatB | float | Read/Write | Returns the blue component as a float (0.0‑1.0) |
Hue | float | Read/Write | Gets or sets the hue of the color in degrees |
Saturation | float | Read/Write | Gets or sets the saturation level (0‑1) |
Luminance | float | Read/Write | Gets or sets the luminance/brightness (0‑1) |