[]
Represents a color.
public struct SvgColor : IEquatable<SvgColor>
Public Structure SvgColor
Implements IEquatable(Of SvgColor)
Name | Description |
---|---|
SvgColor(HslColor) | Initializes a new instance of the SvgColor struct from the HslColor value. |
SvgColor(Color) | Initializes a new instance of the SvgColor struct from the Color value. |
SvgColor(int) | Initializes a new instance of the SvgColor struct from a 32-bit ARGB value. |
Name | Description |
---|---|
Black | Represents the black color. |
CurrentColor | Represents the 'currentColor' value. |
Transparent | Represents the transparent color. |
Name | Description |
---|---|
Hsl | Gets or sets the HslColor value. |
IsCurrentColor | Gets a value indicating whether this color references the 'color' attribute. |
IsHsl | Gets or sets a value indicating whether the color is stored in HSLA format. |
IsRgb | Gets or sets a value indicating whether the color is stored in RGBA format. |
Rgb | Gets the Color value. |
Name | Description |
---|---|
Equals(SvgColor) | Determines whether the specified SvgColor is equal to this instance. |
Equals(object) | Determines whether the specified object is equal to this instance. |
GetHashCode() | Returns a hash code for the current SvgColor. |
ToString() | Returns a string that represents the current SvgColor. |