RGBColor

struct HPS.RGBColor

Public Functions

override bool Equals (object obj)
bool Equals (RGBColor c, int in_tolerance = 32)
override int GetHashCode ()
float Gray ()
bool IsGray ()
bool IsValid ()
RGBColor (float gray)
RGBColor (float r, float g, float b)
RGBColor (RGB24Color c24)
RGBColor (RGBA32Color c32)
RGBColor (RGBAColor c)
RGBColor (RGBAS32Color c32)
RGBColor (RGBColor color)
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)

Public Members

float blue
float green
float red

Public Static Functions

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