C# Class jxGameFramework.Data.HSLColor

Datei anzeigen Open project: jxpxxzj/WarshipGirl Class Usage Examples

Public Properties

Property Type Description
H int
L int
S int

Public Methods

Method Description
FromRGB ( Color rgb ) : HSLColor
HSLToRGB ( int H, int S, int L ) : Color
ToRGB ( ) : Color

Private Methods

Method Description
toRgb ( double q1, double q2, double hue ) : double

Method Details

FromRGB() public static method

public static FromRGB ( Color rgb ) : HSLColor
rgb Color
return HSLColor

HSLToRGB() public static method

public static HSLToRGB ( int H, int S, int L ) : Color
H int
S int
L int
return Color

ToRGB() public method

public ToRGB ( ) : Color
return Color

Property Details

H public_oe property

public int H
return int

L public_oe property

public int L
return int

S public_oe property

public int S
return int