Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Graphics Mill docs

Color.FromArgb32 Method (Int32, Int32, Int32, Int32)

Returns RgbColor class instance constructed from all 4 channels (alpha, red, green, and blue).

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

Syntax

Visual Basic
Public Shared Function FromArgb32 ( _
	alpha As Integer, _
	red As Integer, _
	green As Integer, _
	blue As Integer _
) As RgbColor
C#
public static RgbColor FromArgb32(
	int alpha,
	int red,
	int green,
	int blue
)

Parameters

alpha

Type: System.Int32

Alpha channel value.
red

Type: System.Int32

Red channel value.
green

Type: System.Int32

Green channel value.
blue

Type: System.Int32

Blue channel value.

Return Value

RgbColor class instance constructed from given channels.

Remarks

You can also use non-extended version of this method, i.e. FromArgb(Byte, Byte, Byte, Byte). If you do not care about alpha channel, you can also use FromRgb32(Int32, Int32, Int32) method.

See Also

Reference