function imageapi_image_overlaytext_alpha in ImageCache Actions 6
Same name and namespace in other branches
- 5.3 textactions.inc \imageapi_image_overlaytext_alpha()
- 5.2 textactions.inc \imageapi_image_overlaytext_alpha()
Place text on an image.
1 call to imageapi_image_overlaytext_alpha()
- textactions_text2canvas_image in ./
textactions.inc - Place the source image on the current background
File
- ./
textactions.inc, line 370 - Helper functions for imagecache_textactions
Code
function imageapi_image_overlaytext_alpha(&$image, $text, $size = 12, $x = 0, $y = 0, $RGB = 0, $fontfile = 'MgOpenModernaBold', $angle = 0) {
return imageapi_toolkit_invoke('overlaytext_alpha', $image, array(
$text,
$size,
$x,
$y,
$RGB,
$fontfile,
$angle,
));
}