RgbColor
Device RGB color with ARGB components for drawing content; use to specify red/green/blue values with optional transparency.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class RgbColor : SimpleColor, IEquatable<ColorBase>
Inheritance: objectColorBaseSimpleColorRgbColor
Implements:
Inherited Members
Constructors
Creates an RgbColor with default alpha (fully opaque).
public RgbColor()
Creates an RgbColor from explicit ARGB components.
Fields
Gets or sets the alpha (transparency) component, 0–255 (0 = transparent, 255 = opaque).
public byte A
The alpha component value, where 0 represents fully transparent and 255 represents fully opaque.
Gets or sets the green component, 0–255.
public byte G
The green component value.
Methods
Calculates a hash code for this RGB color instance based on its component values.
Returns a string representation of this RGB color showing its ARGB component values.
public override string ToString()
A string representation of the RGB color in the format "<A=alpha R=red G=green B=blue>".
Overrides: