Table of Contents

Method ToArgb

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

ToArgb()

Gets the 32-bit ARGB value of this Color structure.

public int ToArgb()

Returns

int

The 32-bit ARGB value of this Color.

Remarks

The byte-ordering of the 32-bit ARGB value is AARRGGBB. The most significant byte (MSB), represented by AA, is the alpha component value. The second, third, and fourth bytes, represented by RR, GG, and BB, respectively, are the color components red, green, and blue, respectively.