XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
phmagick_decorations Class Reference

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)
 

Detailed Description

Definition at line 30 of file decorations.php.

Member Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

phmagick_decorations::fakePolaroid ( phmagick  $p,
  $rotate = 6,
  $borderColor = "#fff",
  $background = "none" 
)

Fake polaroid effect (white border and rotation)

Parameters
$rotationInt - 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().

Here is the call graph for this function:

phmagick_decorations::glow ( phmagick  $p,
  $color = '#827f00',
  $offset = 10,
  $transparency = 60 
)
phmagick_decorations::polaroid ( phmagick  $p,
  $format = null,
  $rotation = 6,
  $borderColor = "snow",
  $shaddowColor = "black",
  $background = "none" 
)

Real polaroid efect, supports text

Parameters
$formatphMagickTextObject - text format for image label
$rotationInt - 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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


The documentation for this class was generated from the following file: