IColorComponents.ToString
IColorComponents.ToString method
Converts color components to String representation.
public String ToString(bool includeAlpha, bool asDecimal, int digits)
| Parameter | Type | Description |
|---|---|---|
| includeAlpha | Boolean | Specifies whether to add Alpha component. |
| asDecimal | Boolean | Specifies whether color components are preserved as a decimal number or as a percentage. |
| digits | Int32 | Sets the rounding precision for color components. |
Return Value
String representation of the color components.
See Also
- interface IColorComponents
- package com.aspose.html.drawing
- package Aspose.HTML