This documentation is for the old version. Go to the latest Graphics Mill docs

Color.FromArgb32 Method (Int32)

Returns RgbColor class instance constructed from numeric 32-bit representation of RGB value with alpha channel.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Shared Function FromArgb32 ( _
	argb As Integer _
) As RgbColor
C#
public static RgbColor FromArgb32(
	int argb
)

Parameters

argb

Type: System.Int32

Numeric representation of the ARGB value.

Return Value

RgbColor class instance constructed from given number.

Remarks

Low byte of this 32-bit value contains blue channel, next byte contains green channel, next one is a red channel, and the high byte is an alpha channel. You can also use extended version of this method, i.e. FromArgb64(Int64).

See Also

Reference