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

Color.FromAcmyk32 Method

Returns CmykColor class instance constructed from all 5 channels (alpha, cyan, magenta, yellow, and black).

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

Syntax

Visual Basic
Public Shared Function FromAcmyk32 ( _
	alpha As Integer, _
	cyan As Integer, _
	magenta As Integer, _
	yellow As Integer, _
	black As Integer _
) As CmykColor
C#
public static CmykColor FromAcmyk32(
	int alpha,
	int cyan,
	int magenta,
	int yellow,
	int black
)

Parameters

alpha

Type: System.Int32

Alpha channel value.
cyan

Type: System.Int32

Cyan channel value.
magenta

Type: System.Int32

Magenta channel value.
yellow

Type: System.Int32

Yellow channel value.
black

Type: System.Int32

Black channel value.

Return Value

CmykColor class instance constructed from given channels.

Remarks

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

See Also

Reference