ColorCMYK Constructor (Single, Single, Single, Single, Single) |
Initializes a new instance of the ColorCMYK class
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public ColorCMYK(
float cyan,
float magenta,
float yellow,
float black,
float alpha = 1f
)
Public Sub New (
cyan As Single,
magenta As Single,
yellow As Single,
black As Single,
Optional alpha As Single = 1F
)
new :
cyan : float32 *
magenta : float32 *
yellow : float32 *
black : float32 *
?alpha : float32
(* Defaults:
let _alpha = defaultArg alpha 1f
*)
-> ColorCMYK
Parameters
- cyan
- Type: SystemSingle
Cyan component - magenta
- Type: SystemSingle
Magenta component - yellow
- Type: SystemSingle
Yellow component - black
- Type: SystemSingle
Key/black component - alpha (Optional)
- Type: SystemSingle
Alpha component
See Also