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

Color.FromAcmyk 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 FromAcmyk ( _
	alpha As Byte, _
	cyan As Byte, _
	magenta As Byte, _
	yellow As Byte, _
	black As Byte _
) As CmykColor
C#
public static CmykColor FromAcmyk(
	byte alpha,
	byte cyan,
	byte magenta,
	byte yellow,
	byte black
)

Parameters

alpha

Type: System.Byte

Alpha channel value.
cyan

Type: System.Byte

Cyan channel value.
magenta

Type: System.Byte

Magenta channel value.
yellow

Type: System.Byte

Yellow channel value.
black

Type: System.Byte

Black channel value.

Return Value

CmykColor class instance constructed from given channels.

Remarks

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

See Also

Reference