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

Public Member Functions

 RGBAColor (RGBAColor color)
 
 RGBAColor (float gray, float a)
 
 RGBAColor (float gray)
 
 RGBAColor (float r, float g, float b, float a)
 
 RGBAColor (float r, float g, float b)
 
 RGBAColor (RGBColor c, float a)
 
 RGBAColor (RGBColor c)
 
 RGBAColor (RGBAS32Color c32)
 
 RGBAColor (RGBA32Color c32)
 
bool IsGray ()
 
float Gray ()
 
bool IsValid ()
 
override bool Equals (object obj)
 
bool Equals (RGBAColor c, int in_tolerance=32)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator== (RGBAColor a, RGBAColor b)
 
static bool operator!= (RGBAColor a, RGBAColor b)
 
static RGBAColor Black ()
 
static RGBAColor White ()
 
static RGBAColor Invalid ()
 

Public Attributes

float red
 
float green
 
float blue
 
float alpha
 

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