C# Class ModernizedAlice.ShosenColorPicker.Model.HsvColor

HSV (HSB) カラーを表す
Mostrar archivo Open project: kienaiProject/ArtOfWords Class Usage Examples

Public Methods

Method Description
FromRgb ( Color rgb ) : HsvColor

指定したColorからHsvColorを作成する

HsvColor ( float hue, float saturation, float brightness ) : System
ToRgb ( HsvColor hsv ) : Color

指定したHsvColorからColorを作成する

Method Details

FromRgb() public static method

指定したColorからHsvColorを作成する
public static FromRgb ( Color rgb ) : HsvColor
rgb Color Color
return HsvColor

HsvColor() public method

public HsvColor ( float hue, float saturation, float brightness ) : System
hue float
saturation float
brightness float
return System

ToRgb() public static method

指定したHsvColorからColorを作成する
public static ToRgb ( HsvColor hsv ) : Color
hsv HsvColor HsvColor
return Color