Action/Watermark.php

Show: inherited
Table of Contents

\phMagick\Action\Watermark

Package: action

Watermarks an image

this Action allows to overlay an image on top of another

Parent(s)
\phMagick\Core\Action
Author
nuno  

Properties

Propertyprivate  $gravity= ''center''
Default value'center'Details
Type
n/a
Propertyprivate  $transparency= '50'
Default value50Details
Type
n/a
Propertyprivate  $watermarkImage= 'null'
Default valuenullDetails
Type
n/a

Methods

methodpublic__construct( ) : void

methodpublicgetDestination( ) : void

methodpublicgetGravity( ) : String

Gets the watermark image positioning

Returns
Type Description
String
Details
See
\phMagick\Action\http://www.imagemagick.org/script/command-line-options.php#gravity  
methodpublicgetShellCommand( ) : void

methodpublicgetSource( ) : void

methodpublicgetTransparency( ) : Integer

gets the watermark image transparency

Returns
Type Description
Integer
methodpublicgetWatermarkImage( ) : String

Gets the path to the watermark image

Returns
Type Description
String
methodprotectedisValidGravity( ) : void

methodpublicsetDestination( ) : void

methodpublicsetGravity( String $gravity ) : void

Sets the watermark image positioning

Parameters
Name Type Description
$gravity String
Details
See
\phMagick\Action\http://www.imagemagick.org/script/command-line-options.php#gravity  
methodpublicsetSource( ) : void

methodpublicsetTransparency( Integer $transparency ) : void

Sets the watermark image transparency

Parameters
Name Type Description
$transparency Integer

an integer from 0 to 100

methodpublicsetWatermarkImage( String $watermark ) : void

Sets the path to the watermark image

Parameters
Name Type Description
$watermark String
Documentation was generated by DocBlox 0.17.2.