ColorFormat
General
ColorFormat is a class in Aspose.Slides for NET.
Inherits from: IColorFormat.
ColorFormat és una classe en Aspose.Slides per NET. Hereta de: ゚IColorFormat⌒’ .
Representa un format de color utilitzat en els elements de presentació.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
ColorType | ColorType | Read/Write | Indicates which color model (scheme, preset, etc.) the format uses |
Color | Color? | Read/Write | Gets or sets the ARGB color value when ColorType is custom |
PresetColor | PresetColor | Read/Write | Gets or sets a predefined color from the PresetColor enumeration |
SchemeColor | SchemeColor | Read/Write | Gets or sets a color defined by the slide’s color scheme |
R | int | Read/Write | Gets or sets the red component (0-255) of the color |
G | int | Read/Write | |
B | int | Read/Write | |
FloatR | float | Read/Write | Gets or sets the red component as a float (0.0-1.0) |
FloatG | float | Read/Write | |
FloatB | float | Read/Write | |
Hue | float | Read/Write | Gets or sets the hue angle (0-360) of the color in HSL |
Saturation | float | Read/Write | Gets or sets the saturation (0-1) of the color in HSL |
Luminance | float | Read/Write |