IColor80

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

 

 

Properties

 

abgrColor

Gets and sets the number which represents the color in ABGR format (0xAABBGGRR).

 

Methods

 

FromABGRColor

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

FromARGBColor

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

FromBGRColor

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

FromHTMLColor

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

FromRGBColor

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

GetAlpha

Returns the opacity or transparency of the IColor80 object.

SetAlpha

Sets the opacity or transparency of the IColor80 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).