Hide menu
Loading...
Searching...
No Matches

Defines an RGBA color. More...

Inherits global.SystemIDisposable.

Public Member Functions

 Color (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 Color (int theRGBA)
 
 Color (string theRGB)
 
 Color (int theR, int theG, int theB, int theAlpha)
 
 Color (int theR, int theG, int theB)
 
 Color (float theR, float theG, float theB, float theAlpha)
 
 Color (float theR, float theG, float theB)
 
float R ()
 
float G ()
 
float B ()
 
float A ()
 
void SetR (float theR)
 
void SetG (float theG)
 
void SetB (float theB)
 
void SetA (float theA)
 
void Values (ref float theR, ref float theG, ref float theB, ref float theAlpha)
 
void SetValues (float theR, float theG, float theB, float theAlpha)
 
cadex.Collections.FloatList ToVector (bool theWithAlpha)
 
cadex.Collections.FloatList ToVector ()
 
uint ToRGB ()
 
uint ToRGBA ()
 
void FromRGB (uint theRGB)
 
void FromRGBA (uint theRGBA)
 
string Name ()
 
bool IsNull ()
 
bool IsEqual (cadex.View.Color theOther)
 

Static Public Member Functions

static string ColorToHex (cadex.View.Color theColor)
 
static cadex.View.Color HexToColor (string theHex)
 
static cadex.View.Color RGBToColor (uint theRGB)
 
static cadex.View.Color RGBAToColor (uint theRGBA)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description