This class represents a color in the Skyline Globe environment.
It is used as a parameter for many methods and can determine the opacity or transparency of the object.
Constructor
Name |
Description |
Initializes a new instance of SGColor. |
Properties
Name |
Description |
Number which represents the color in ABGR format (0xAABBGGRR). |
Methods
Name |
Description |
Returns a string in HTML color format (“#RRGGBB”). |
|
Returns a number in BGR color format (0x00BBGGRR). |
|
Returns a number in innerObj color format (0x00BBGGRR). |
|
Returns a number in ABGR color format (0xAABBGGRR). |
|
Returns a number in RGB color format (0x00RRGGBB). |
|
Returns a number in ARGB color format (0xAARRGGBB). |
|
Sets the SGColor object from HTML color format (“#RRGGBB”). |
|
Sets the SGColor object from BGR color format (0x00BBGGRR). |
|
Sets the SGColor object from ABGR color format (0xAABBGGRR). |
|
Sets the SGColor object from RGB color format (0x00RRGGBB). |
|
Sets the SGColor object from ARGB color format (0xAARRGGBB). |
|
Returns the opacity or transparency of the SGColor object. |
|
Sets the opacity or transparency of the SGColor object. |