You are here

function imageapi_image_overlaytext in ImageCache Actions 5.2

Same name and namespace in other branches
  1. 5.3 imagecache_canvasactions.module \imageapi_image_overlaytext()

Place text on an image.

File

./imagecache_canvasactions.module, line 149
A collection of canvas (layer) type manipulations for imagecache - including "Watermark"

Code

function imageapi_image_overlaytext(&$image, $text, $size = 12, $x = 0, $y = 0, $RGB = 0, $fontfile = 'MgOpenModernaBold', $angle = 0) {
  return call_user_func($image->toolkit . '_image_overlaytext', $image, $text, $size, $x, $y, $RGB, $fontfile, $angle);
}