|
XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
| border (phmagick $p, $borderColor="#000", $borderSize="1") | |
| dropShadow (phmagick $p, $color= '#000', $offset=4, $transparency=60, $top=4, $left=4) | |
| fakePolaroid (phmagick $p, $rotate=6, $borderColor="#fff", $background="none") | |
| glow (phmagick $p, $color='#827f00', $offset=10, $transparency=60) | |
| polaroid (phmagick $p, $format=null, $rotation=6, $borderColor="snow", $shaddowColor="black", $background="none") | |
| roundCorners (phmagick $p, $i=15) | |
Definition at line 30 of file decorations.php.
| phmagick_decorations::border | ( | phmagick | $p, |
$borderColor = "#000", |
|||
$borderSize = "1" |
|||
| ) |
Definition at line 160 of file decorations.php.
References $p, $ret, phmagick\execute(), phmagick\getBinary(), phmagick\getDestination(), phmagick\getSource(), phmagick\setHistory(), and phmagick\setSource().

| phmagick_decorations::dropShadow | ( | phmagick | $p, |
$color = '#000', |
|||
$offset = 4, |
|||
$transparency = 60, |
|||
$top = 4, |
|||
$left = 4 |
|||
| ) |
Definition at line 50 of file decorations.php.
References $p, phmagick\execute(), phmagick\getBinary(), phmagick\getDestination(), phmagick\getSource(), phmagick\setHistory(), and phmagick\setSource().

| phmagick_decorations::fakePolaroid | ( | phmagick | $p, |
$rotate = 6, |
|||
$borderColor = "#fff", |
|||
$background = "none" |
|||
| ) |
Fake polaroid effect (white border and rotation)
| $rotation | Int - The imahe will be rotatex x degrees |
| $borderColor | - Polaroid border (ussuay white) |
| $shaddowColor | - drop shaddow color |
| $background | - Image background color (use for jpegs or images that do not support transparency or you will end up with a black background) |
Definition at line 94 of file decorations.php.
References $p, $ret, phmagick\execute(), phmagick\getBinary(), phmagick\getDestination(), phmagick\getSource(), phmagick\setHistory(), and phmagick\setSource().

| phmagick_decorations::glow | ( | phmagick | $p, |
$color = '#827f00', |
|||
$offset = 10, |
|||
$transparency = 60 |
|||
| ) |
Definition at line 67 of file decorations.php.
References $p, phmagick\execute(), phmagick\getBinary(), phmagick\getDestination(), phmagick\getSource(), phmagick\requirePlugin(), phmagick\setHistory(), and phmagick\setSource().

| phmagick_decorations::polaroid | ( | phmagick | $p, |
$format = null, |
|||
$rotation = 6, |
|||
$borderColor = "snow", |
|||
$shaddowColor = "black", |
|||
$background = "none" |
|||
| ) |
Real polaroid efect, supports text
| $format | phMagickTextObject - text format for image label |
| $rotation | Int - The imahe will be rotatex x degrees |
| $borderColor | - Polaroid border (ussuay white) |
| $shaddowColor | - drop shaddow color |
| $background | - Image background color (use for jpegs or images that do not support transparency or you will end up with a black background) |
Definition at line 116 of file decorations.php.
References $p, phmagick\execute(), phmagick\getBinary(), phmagick\getDestination(), phmagick\getSource(), phmagick\setHistory(), and phmagick\setSource().

| phmagick_decorations::roundCorners | ( | phmagick | $p, |
$i = 15 |
|||
| ) |
Definition at line 31 of file decorations.php.
References $p, phmagick\execute(), phmagick\getBinary(), phmagick\getDestination(), phmagick\getSource(), phmagick\setHistory(), and phmagick\setSource().
