C# Class SadConsole.Readers.REXPaint.Color

A RexPaint color.
Mostrar archivo Open project: Thraka/SadConsole

Public Properties

Property Type Description
B byte
G byte
R byte

Public Methods

Method Description
Color ( byte r, byte g, byte b ) : System

Creates a new RexPaint color with the specified RGB channels.

operator ( ) : bool

Method Details

Color() public method

Creates a new RexPaint color with the specified RGB channels.
public Color ( byte r, byte g, byte b ) : System
r byte The red channel of the color.
g byte The green channel of the color.
b byte The blue channel of the color.
return System

operator() public static method

public static operator ( ) : bool
return bool

Property Details

B public_oe property

The blue channel of the color.
public byte B
return byte

G public_oe property

The green channel of the color.
public byte G
return byte

R public_oe property

The red channel of the color.
public byte R
return byte