CmykColor.FromPercentages Method (Single, Single, Single, Single, Single)

Initializes a CmykColor object by using the specified channel values in percentage.

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

Syntax

C#
public static CmykColor FromPercentages(
	float c,
	float m,
	float y,
	float k,
	float a
)

Parameters

c

Type: System..Single

A cyan channel percentage value.
m

Type: System..Single

A magenta channel percentage value.
y

Type: System..Single

A yellow channel percentage value.
k

Type: System..Single

A black channel percentage value.
a

Type: System..Single

An alpha channel percentage value.

See Also

Reference