C# Class Treefrog.Framework.Imaging.Color

Mostrar archivo Open project: jaquadro/Treefrog Class Usage Examples

Public Properties

Property Type Description
A byte
B byte
G byte
R byte

Public Methods

Method Description
Color ( Color c, byte a ) : System
Color ( byte r, byte g, byte b ) : System
Color ( byte r, byte g, byte b, byte a ) : System
Equals ( Color other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
ParseArgbHex ( string hex ) : Color
ParseRgbHex ( string hex ) : Color
ToArgbHex ( ) : string
ToRgbHex ( ) : string
ToString ( ) : string
operator ( ) : Color
operator ( ) : bool

Private Methods

Method Description
ByteToHex2 ( byte value ) : string

Method Details

Color() public method

public Color ( Color c, byte a ) : System
c Color
a byte
return System

Color() public method

public Color ( byte r, byte g, byte b ) : System
r byte
g byte
b byte
return System

Color() public method

public Color ( byte r, byte g, byte b, byte a ) : System
r byte
g byte
b byte
a byte
return System

Equals() public method

public Equals ( Color other ) : bool
other Color
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ParseArgbHex() public static method

public static ParseArgbHex ( string hex ) : Color
hex string
return Color

ParseRgbHex() public static method

public static ParseRgbHex ( string hex ) : Color
hex string
return Color

ToArgbHex() public method

public ToArgbHex ( ) : string
return string

ToRgbHex() public method

public ToRgbHex ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : Color
return Color

operator() public static method

public static operator ( ) : bool
return bool

Property Details

A public_oe property

public byte A
return byte

B public_oe property

public byte B
return byte

G public_oe property

public byte G
return byte

R public_oe property

public byte R
return byte