Gives threshold comparing functions for Colors
More...
|
static bool | Equals (this Color self, Color other, float threshold) |
| Compare 2 colors with a threshold, checks the difference between all separate RGB values More...
|
|
static bool | EqualsCompareTogether (this Color self, Color other, float threshold) |
| Compare 2 colors with a threshold, combines the colors and compares More...
|
|
static bool | Contains (this IEnumerable< Color > self, Color other, float threshold) |
| Check if all colors in an enumerable matches the other color. Using Equals More...
|
|
Gives threshold comparing functions for Colors
◆ Contains()
static bool JUtils.ColorExtensions.Contains |
( |
this IEnumerable< Color > |
self, |
|
|
Color |
other, |
|
|
float |
threshold |
|
) |
| |
|
inlinestatic |
Check if all colors in an enumerable matches the other color. Using Equals
◆ Equals()
static bool JUtils.ColorExtensions.Equals |
( |
this Color |
self, |
|
|
Color |
other, |
|
|
float |
threshold |
|
) |
| |
|
inlinestatic |
Compare 2 colors with a threshold, checks the difference between all separate RGB values
◆ EqualsCompareTogether()
static bool JUtils.ColorExtensions.EqualsCompareTogether |
( |
this Color |
self, |
|
|
Color |
other, |
|
|
float |
threshold |
|
) |
| |
|
inlinestatic |
Compare 2 colors with a threshold, combines the colors and compares
The documentation for this class was generated from the following file: