TSLab API Docs  1
TSLab.Script.Color Struct Reference

Script Color More...

Inheritance diagram for TSLab.Script.Color:

Public Member Functions

 Color (int value)
 Make new script color instance from int value int value
 
 Color (uint value)
 
 Color (int r, int g, int b)
 Make new script color instance from RGB Red value Green value Blue value
 
 Color (string value)
 
override int GetHashCode ()
 
override bool Equals (object other)
 
bool Equals (Color other)
 
override string ToString ()
 

Static Public Member Functions

static bool operator== (Color a, Color b)
 
static bool operator!= (Color a, Color b)
 
static implicit operator int (Color value)
 Convert script color to int value script color int value
 
static implicit operator Color (int value)
 Convert int value to script color int value script color
 
static implicit operator Color (uint value)
 

Properties

byte R [get]
 Red part of color
 
byte G [get]
 Green part of color
 
byte B [get]
 Blue part of color
 

Detailed Description