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

Color.FromRgb32 Method

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

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

Syntax

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

Parameters

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. FromRgb(Byte, Byte, Byte). If you need also supply alpha channel, you can use FromArgb32(Int32, Int32, Int32, Int32) method.

See Also

Reference