Table of Contents

Class SunamoColor

Namespace
SunamoColors
Assembly
SunamoColors.dll

Represents a color with alpha, red, green, and blue components

public class SunamoColor
Inheritance
SunamoColor
Inherited Members
Extension Methods

Constructors

SunamoColor()

Initializes a new instance of the SunamoColor class with default values

public SunamoColor()

SunamoColor(byte, byte, byte, byte)

Initializes a new instance of the SunamoColor class with specified ARGB values

public SunamoColor(byte alpha, byte red, byte green, byte blue)

Parameters

alpha byte

The alpha channel (transparency) value

red byte

The red channel value

green byte

The green channel value

blue byte

The blue channel value

Properties

A

Gets or sets the alpha channel (transparency) value

public byte A { get; set; }

Property Value

byte

B

Gets or sets the blue channel value

public byte B { get; set; }

Property Value

byte

G

Gets or sets the green channel value

public byte G { get; set; }

Property Value

byte

R

Gets or sets the red channel value

public byte R { get; set; }

Property Value

byte

Methods

ToString()

Returns a string representation of this color

public override string ToString()

Returns

string

A string representation of the color

Exceptions

Exception

Thrown because StringHexColorConverter has been moved and is only available in WPF, not WinForms