C# Class LongoMatch.Common.Color

ファイルを表示 Open project: GNOME/longomatch

Public Properties

Property Type Description
Black Color
Blue Color
Blue1 Color
Green Color
Green1 Color
Grey1 Color
Grey2 Color
Red Color
Red1 Color
White Color

Public Methods

Method Description
Color ( byte r, byte g, byte b, byte a = byte.MaxValue ) : System
ColorFromUShort ( ushort r, ushort g, ushort b, ushort a = ushort.MaxValue ) : Color
Equals ( object obj ) : bool
GetHashCode ( ) : int
UShortToByte ( ushort val ) : byte

Method Details

Color() public method

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

ColorFromUShort() public static method

public static ColorFromUShort ( ushort r, ushort g, ushort b, ushort a = ushort.MaxValue ) : Color
r ushort
g ushort
b ushort
a ushort
return Color

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

UShortToByte() public static method

public static UShortToByte ( ushort val ) : byte
val ushort
return byte

Property Details

Black public_oe static_oe property

public static Color Black
return Color

Blue public_oe static_oe property

public static Color Blue
return Color

Blue1 public_oe static_oe property

public static Color Blue1
return Color

Green public_oe static_oe property

public static Color Green
return Color

Green1 public_oe static_oe property

public static Color Green1
return Color

Grey1 public_oe static_oe property

public static Color Grey1
return Color

Grey2 public_oe static_oe property

public static Color Grey2
return Color

Red public_oe static_oe property

public static Color Red
return Color

Red1 public_oe static_oe property

public static Color Red1
return Color

White public_oe static_oe property

public static Color White
return Color