Color
Represents a color in the Source Engine
Static Method Summary
Static Public Methods | ||
public static |
Claps the value to the valid range [0-255] |
|
public static |
Parse a Color object from a string |
Constructor Summary
Public Constructor | ||
public |
Creates an empty color |
Member Summary
Public Members | ||
public get |
The alpha component |
|
public set |
Sets the alpha component |
|
public get |
The blue component |
|
public set |
Sets the blue component |
|
public get |
The green component |
|
public set |
Sets the green component |
|
public get |
The red component |
|
public set |
Sets the red component |
|
public get |
The name of the lookup key in the schema file |
|
public set |
|
Method Summary
Public Methods | ||
public |
toString(): * |