PHP Steganography

RGBColor
in package

Represents an RGB color.

Tags
author

Sebastiano Racca [email protected]

Table of Contents

Properties

$rgb  : int

Methods

__construct()  : mixed
getBlue()  : int
Returns the blue value.
getGreen()  : int
Returns the green value.
getRed()  : int
Returns the red value.
getRgb()  : int
Returns the RGB value
setBlue()  : void
Sets the blue value.
setGreen()  : void
Sets the green value.
setRed()  : void
Sets the red value.

Properties

Methods

__construct()

public __construct(int $rgb) : mixed
Parameters
$rgb : int

getBlue()

Returns the blue value.

public getBlue() : int
Return values
int

The value.

getGreen()

Returns the green value.

public getGreen() : int
Return values
int

The value.

getRed()

Returns the red value.

public getRed() : int
Return values
int

The value.

getRgb()

Returns the RGB value

public getRgb() : int
Return values
int

The value.

setBlue()

Sets the blue value.

public setBlue(int $b) : void
Parameters
$b : int

The blue value (0-255).

setGreen()

Sets the green value.

public setGreen(int $g) : void
Parameters
$g : int

The green value (0-255).

setRed()

Sets the red value.

public setRed(int $r) : void
Parameters
$r : int

The red value (0-255).


        
On this page

Search results