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
- namespace Aspose.Svg.Drawing
- assembly Aspose.SVG