Class

eZImageTextLayer

class eZImageTextLayer extends eZImageLayer

Properties

$Width
$Height
$Font
$ImageObject
$ImageObjectRef
$StoredFile
$StoredPath
$StoredType
$PaletteIndex
$Palette
$AlternativeText
$IsTrueColor
$IsProcessed
$TemplateURI
$TextBoundingBox
$Text
$Angle

Methods

__construct(string $imageObjectRef = null, eZContentObject $imageObject = null, int|bool $width = false, int|bool $height = false, $font = false, $boundingBox = null, $text = null, $textAngle)

Constructor

templateData()

from eZImageLayer
setTemplateURI($uri)

from eZImageLayer
mergeLayer($image, $layerData, $lastLayerData)

processImage()

setText($text)

text()

setTextAngle($textAngle)

textAngle()

textBoundingBox()

Details

at line 20
public __construct(string $imageObjectRef = null, eZContentObject $imageObject = null, int|bool $width = false, int|bool $height = false, $font = false, $boundingBox = null, $text = null, $textAngle)

Constructor

Parameters

string $imageObjectRef
eZContentObject $imageObject
int|bool $width
int|bool $height
$font
$boundingBox
$text
$textAngle

in eZImageLayer at line 32
public templateData()

in eZImageLayer at line 42
public setTemplateURI($uri)

Parameters

$uri

at line 54
public mergeLayer($image, $layerData, $lastLayerData)

Parameters

$image
$layerData
$lastLayerData

at line 34
public processImage()

at line 89
public setText($text)

Parameters

$text

at line 97
public text()

at line 105
public setTextAngle($textAngle)

Parameters

$textAngle

at line 113
public textAngle()

at line 121
public textBoundingBox()