Operator implicit operator
implicit operator int(Attribute)
Implicit conversion from an Attribute to the underlying, driver-specific, Int32 representation of the color.
public static implicit operator int(Attribute c)
Parameters
c
AttributeThe attribute to convert
Returns
- int
The driver-specific color value stored in the attribute.
implicit operator Attribute(int)
Implicitly convert an driver-specific color value into an Attribute
public static implicit operator Attribute(int v)
Parameters
v
intvalue
Returns
- Attribute
An attribute with the specified driver-specific color value.