Class OTZHsvColor
HSV(HSB) カラーを表します。
Inheritance
System.Object
OTZHsvColor
名前空間: OTZControls.Utilities
アセンブリ: OTZControls.dll
Syntax
public class OTZHsvColor
プロパティ
H
色相 (Hue)
宣言
public float H { get; }
プロパティ値
| 型 | 説明 |
|---|---|
| System.Single |
S
彩度 (Saturation)
宣言
public float S { get; }
プロパティ値
| 型 | 説明 |
|---|---|
| System.Single |
V
明度 (Value, Brightness)
宣言
public float V { get; }
プロパティ値
| 型 | 説明 |
|---|---|
| System.Single |
メソッド
FromRgb(Color)
指定したColorからHsvColorを作成する
宣言
public static OTZHsvColor FromRgb(Color rgb)
パラメーター
| 型 | 名前 | 説明 |
|---|---|---|
| Color | rgb | Color |
戻り値
| 型 | 説明 |
|---|---|
| OTZHsvColor | HsvColor |
ToRgb(OTZHsvColor)
指定したHsvColorからColorを作成する
宣言
public static Color ToRgb(OTZHsvColor hsv)
パラメーター
| 型 | 名前 | 説明 |
|---|---|---|
| OTZHsvColor | hsv | HsvColor |
戻り値
| 型 | 説明 |
|---|---|
| Color | Color |