Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
HPS.RGBColor Struct Reference

Public Member Functions

 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)
 
bool IsGray ()
 
float Gray ()
 
bool IsValid ()
 
override bool Equals (object obj)
 
bool Equals (RGBColor c, int in_tolerance=32)
 
override int GetHashCode ()
 
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)
 
void ShowHIC (out float out_hue, out float out_intensity, out float out_chromaticity)
 

Static Public Member Functions

static bool operator== (RGBColor a, RGBColor b)
 
static bool operator!= (RGBColor a, RGBColor b)
 
static RGBColor operator* (RGBColor a, RGBColor b)
 
static RGBColor operator+ (RGBColor a, RGBColor b)
 
static RGBColor operator- (RGBColor a, RGBColor b)
 
static RGBColor operator* (RGBColor c, float s)
 
static RGBColor operator/ (RGBColor c, float s)
 
static RGBColor operator+ (RGBColor c, float s)
 
static RGBColor operator- (RGBColor c, float s)
 
static RGBColor Black ()
 
static RGBColor White ()
 
static RGBColor Invalid ()
 
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 HIC (float in_hue, float in_intensity, float in_chromaticity)
 

Public Attributes

float red
 
float green
 
float blue
 

The documentation for this struct was generated from the following file: