\BaconQrCode\Renderer\ColorGray

Gray color.

Summary

Methods
Properties
Constants
__construct()
getGray()
toRgb()
toCmyk()
toGray()
No public properties found
No constants found
No protected methods found
$gray
N/A
No private methods found
No private properties found
N/A

Properties

$gray

$gray : integer

Gray value.

Type

integer

Methods

__construct()

__construct(integer  $gray) 

Creates a new gray color.

A low gray value means black, while a high value means white.

Parameters

integer $gray

getGray()

getGray() : integer

Returns the gray value.

Returns

integer