Public Member Functions

override bool Equals (object obj)
 
bool Equals (RGBColor c, int in_tolerance=32)
 
override int GetHashCode ()
 
float Gray ()
 
bool IsGray ()
 
bool IsValid ()
 
 RGBColor (RGBColor color)
 
 RGBColor (float gray)
 
 RGBColor (float r, float g, float b)
 
 RGBColor (RGBAS32Color c32)
 
 RGBColor (RGBA32Color c32)
 
 RGBColor (RGBAColor c)
 
 RGBColor (RGB24Color c24)
 
void ShowHIC (out float out_hue, out float out_intensity, out float out_chromaticity)
 
void ShowHLS (out float out_hue, out float out_lightness, out float out_saturation)
 
void ShowHSV (out float out_hue, out float out_saturation, out float out_value)
 

Static Public Member Functions

static RGBColor Black ()
 
static RGBColor HIC (float in_hue, float in_intensity, float in_chromaticity)
 
static RGBColor HLS (float in_hue, float in_lightness, float in_saturation)
 
static RGBColor HSV (float in_hue, float in_saturation, float in_value)
 
static RGBColor Invalid ()
 
static bool operator!= (RGBColor a, RGBColor b)
 
static RGBColor operator* (RGBColor a, RGBColor b)
 
static RGBColor operator* (RGBColor c, float s)
 
static RGBColor operator+ (RGBColor a, RGBColor b)
 
static RGBColor operator+ (RGBColor c, float s)
 
static RGBColor operator- (RGBColor a, RGBColor b)
 
static RGBColor operator- (RGBColor c, float s)
 
static RGBColor operator/ (RGBColor c, float s)
 
static bool operator== (RGBColor a, RGBColor b)
 
static RGBColor White ()
 

Public Attributes

float blue
 
float green
 
float red
 

The documentation for this struct was generated from the following file:
  • internals/hps_core/source/cs/HPS.RGBColor.cs