Home > All Other Interfaces > IColor

IColor6

This interface contains methods to set and return color and transparency values using different color formats.

.

 

Properties

 

abgrColor

Number which represents the color in ABGR format (0xAABBGGRR).

FromABGRColor

Sets the IColor6 object from ABGR color format (0xAABBGGRR).

FromARGBColor

Sets the IColor6 object from ARGB color format (0xAARRGGBB).

FromBGRColor

Sets the IColor6 object from BGR color format (0x00BBGGRR).

FromHTMLColor

Sets the IColor6 object from HTML color format (“#RRGGBB”).

FromRGBColor

Sets the IColor6 object from RGB color format (0x00RRGGBB).

GetAlpha

Returns the opacity or transparency of the IColor6 object.

SetAlpha

Sets the opacity or transparency of the IColor6 object.

ToABGRColor

Returns a number in ABGR color format (0xAABBGGRR).

ToARGBColor

Returns a number in ARGB color format (0xAARRGGBB).

ToBGRColor

Returns a number in BGR color format (0x00BBGGRR).

ToHTMLColor

Returns a string in HTML color format (“#RRGGBB”).

ToRGBColor

Returns a number in RGB color format (0x00RRGGBB).