\BaconQrCode\Renderer\ColorCmyk

Summary

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

Properties

$cyan

$cyan : int

Type

int

$magenta

$magenta : int

Type

int

$yellow

$yellow : int

Type

int

$black

$black : int

Type

int

Methods

__construct()

__construct(int  $cyan, int  $magenta, int  $yellow, int  $black) : mixed

Parameters

int $cyan

the cyan amount, 0 to 100

int $magenta

the magenta amount, 0 to 100

int $yellow

the yellow amount, 0 to 100

int $black

the black amount, 0 to 100

Returns

mixed —

getCyan()

getCyan() : int

Returns

int —

getMagenta()

getMagenta() : int

Returns

int —

getYellow()

getYellow() : int

Returns

int —

getBlack()

getBlack() : int

Returns

int —

toRgb()

toRgb() : \BaconQrCode\Renderer\Color\Rgb

Converts the color to RGB.

Returns

\BaconQrCode\Renderer\Color\Rgb —

toCmyk()

toCmyk() : \BaconQrCode\Renderer\Color\Cmyk

Converts the color to CMYK.

Returns

\BaconQrCode\Renderer\Color\Cmyk —

toGray()

toGray() : \BaconQrCode\Renderer\Color\Gray

Converts the color to gray.

Returns

\BaconQrCode\Renderer\Color\Gray —