Class Signature
The base signature object, initialising the canvas and outputting it.
Methods summary
public
|
#
__construct( integer $width, integer $height )
Creates a new instance of a basic Signature class
Creates a new instance of a basic Signature class
Parameters
- $width
- The signature's canvas width
- $height
- The signature's canvas height
|
protected
|
#
drawBackground( $hexColour )
Draws the background colour for the signature.
Note that this has no relation to Card s.
Draws the background colour for the signature.
Note that this has no relation to Card s.
Parameters
- $hexColour
- Hexadecimal colour value
|
public
|
#
output( )
Renders the signature to the browser
Renders the signature to the browser
|
public
Imagick
|
#
getCanvas( )
Returns
Imagick The Imagick object of this signature.
|
Properties summary
protected
Imagick
|
$canvas
The Imagick object for the canvas.
The Imagick object for the canvas.
|
|