Метод | Описание | |
---|---|---|
Add ( Color color1, Color color2, bool includeAlpha = true ) : Color | ||
Divide ( Color color, float value, bool includeAlpha = true ) : Color | ||
Inverse ( Color color ) : Color | ||
Multiply ( Color color, float value, bool includeAlpha = true ) : Color | ||
Subtract ( Color color1, Color color2, bool includeAlpha = true ) : Color | ||
ToColor ( string hexString ) : Color | ||
ToHex ( Color color, bool includeHash = true ) : string | ||
Transition ( Color fromColor, Color toColor, float percentage, bool includeAlpha = true ) : Color |
public static Add ( Color color1, Color color2, bool includeAlpha = true ) : Color | ||
color1 | Color | |
color2 | Color | |
includeAlpha | bool | |
Результат | Color |
public static Divide ( Color color, float value, bool includeAlpha = true ) : Color | ||
color | Color | |
value | float | |
includeAlpha | bool | |
Результат | Color |
public static Inverse ( Color color ) : Color | ||
color | Color | |
Результат | Color |
public static Multiply ( Color color, float value, bool includeAlpha = true ) : Color | ||
color | Color | |
value | float | |
includeAlpha | bool | |
Результат | Color |
public static Subtract ( Color color1, Color color2, bool includeAlpha = true ) : Color | ||
color1 | Color | |
color2 | Color | |
includeAlpha | bool | |
Результат | Color |
public static ToColor ( string hexString ) : Color | ||
hexString | string | |
Результат | Color |
public static ToHex ( Color color, bool includeHash = true ) : string | ||
color | Color | |
includeHash | bool | |
Результат | string |
public static Transition ( Color fromColor, Color toColor, float percentage, bool includeAlpha = true ) : Color | ||
fromColor | Color | |
toColor | Color | |
percentage | float | |
includeAlpha | bool | |
Результат | Color |