\BaconQrCode\Renderer\ColorCmyk

CMYK color.

Summary

Methods
Properties
Constants
__construct()
getCyan()
getMagenta()
getYellow()
getBlack()
toRgb()
toCmyk()
toGray()
No public properties found
No constants found
No protected methods found
$cyan
$magenta
$yellow
$black
N/A
No private methods found
No private properties found
N/A

Properties

$cyan

$cyan : integer

Cyan value.

Type

integer

$magenta

$magenta : integer

Magenta value.

Type

integer

$yellow

$yellow : integer

Yellow value.

Type

integer

$black

$black : integer

Black value.

Type

integer

Methods

__construct()

__construct(integer  $cyan, integer  $magenta, integer  $yellow, integer  $black) 

Creates a new CMYK color.

Parameters

integer $cyan
integer $magenta
integer $yellow
integer $black

getCyan()

getCyan() : integer

Returns the cyan value.

Returns

integer

getMagenta()

getMagenta() : integer

Returns the magenta value.

Returns

integer

getYellow()

getYellow() : integer

Returns the yellow value.

Returns

integer

getBlack()

getBlack() : integer

Returns the black value.

Returns

integer