Action/Watermark.php
\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
Methods


getGravity(
)
:
String
Gets the watermark image positioning
Returns
Details
Type | Description |
---|---|
String |
- See
- \phMagick\Action\http://www.imagemagick.org/script/command-line-options.php#gravity


setGravity(
String $gravity
)
:
void
Sets the watermark image positioning
Parameters
Details
Name | Type | Description |
---|---|---|
$gravity | String |
- See
- \phMagick\Action\http://www.imagemagick.org/script/command-line-options.php#gravity


setTransparency(
Integer $transparency
)
:
void
Sets the watermark image transparency
Parameters
Name | Type | Description |
---|---|---|
$transparency | Integer | an integer from 0 to 100 |