eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZImageLayer

class eZImageLayer extends eZImageInterface

Properties

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

Methods

eZImageInterface($imageObjectRef = null, $imageObject = null, $width = false, $height = false)

from eZImageInterface
isTruecolor()

from eZImageInterface
attributeMemberMap()

from eZImageInterface
attributeFunctionMap()

from eZImageInterface
attributes()

from eZImageInterface
hasAttribute($name)

from eZImageInterface
attribute($name)

from eZImageInterface
isProcessed()

from eZImageInterface
hasSize()

from eZImageInterface
imagePath()

from eZImageInterface
setAlternativeText($text)

from eZImageInterface
alternativeText()

from eZImageInterface
loadPNG($storedPath, $storedFile)

from eZImageInterface
loadJPEG($storedPath, $storedFile)

from eZImageInterface
loadGIF($storedPath, $storedFile)

from eZImageInterface
load()

from eZImageInterface
destroy()

from eZImageInterface
imageObject($createMissing = true)

from eZImageInterface
imageObjectInternal($createMissing = true)

from eZImageInterface
process()

from eZImageInterface
processImage()

from eZImageInterface
store($fileName, $filePath, $type)

from eZImageInterface
create($width, $height, $useTruecolor = null)

from eZImageInterface
__clone()

from eZImageInterface
cloneImage($imageObject, $width, $height, $useTruecolor = null)

from eZImageInterface
width()

from eZImageInterface
height()

from eZImageInterface
setWidth($w)

from eZImageInterface
setHeight($h)

from eZImageInterface
setStoredFile($file, $path, $type)

from eZImageInterface
setFont($font)

from eZImageInterface
font()

from eZImageInterface
copyImage($destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX, $sourceY)

from eZImageInterface
mergeImage($destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX, $sourceY, $transparency)

from eZImageInterface
blendImage($destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX, $sourceY)

from eZImageInterface
merge($imageObject, $x, $y, $width, $height)

from eZImageInterface
clear($color = false)

from eZImageInterface
allocateColor($name, $red, $green, $blue)

from eZImageInterface
color($name)

from eZImageInterface
textColor()

from eZImageInterface
setTextColor($textColor)

from eZImageInterface
drawText($font, $textColor, $text, $x, $y, $angle, $imageObject = null)

from eZImageInterface
eZImageLayer($imageObjectRef = null, $imageObject = null, $width = false, $height = false, $font = false)

templateData()

setTemplateURI($uri)

mergeLayer($image, $layerData, $lastLayerData)

Details

in eZImageInterface at line 21
public eZImageInterface($imageObjectRef = null, $imageObject = null, $width = false, $height = false)

Parameters

$imageObjectRef
$imageObject
$width
$height

in eZImageInterface at line 40
public isTruecolor()

in eZImageInterface at line 50
public attributeMemberMap()

in eZImageInterface at line 64
public attributeFunctionMap()

in eZImageInterface at line 73
public attributes()

in eZImageInterface at line 82
public hasAttribute($name)

Parameters

$name

in eZImageInterface at line 96
public attribute($name)

Parameters

$name

in eZImageInterface at line 124
public isProcessed()

in eZImageInterface at line 132
public hasSize()

in eZImageInterface at line 141
public imagePath()

in eZImageInterface at line 151
public setAlternativeText($text)

Parameters

$text

in eZImageInterface at line 160
public alternativeText()

in eZImageInterface at line 220
public loadPNG($storedPath, $storedFile)

Parameters

$storedPath
$storedFile

in eZImageInterface at line 238
public loadJPEG($storedPath, $storedFile)

Parameters

$storedPath
$storedFile

in eZImageInterface at line 254
public loadGIF($storedPath, $storedFile)

Parameters

$storedPath
$storedFile

in eZImageInterface at line 272
public load()

in eZImageInterface at line 311
public destroy()

in eZImageInterface at line 329
public imageObject($createMissing = true)

Parameters

$createMissing

in eZImageInterface at line 351
public imageObjectInternal($createMissing = true)

Parameters

$createMissing

in eZImageInterface at line 366
public process()

in eZImageInterface at line 378
public processImage()

in eZImageInterface at line 408
public store($fileName, $filePath, $type)

Parameters

$fileName
$filePath
$type

in eZImageInterface at line 501
public create($width, $height, $useTruecolor = null)

Parameters

$width
$height
$useTruecolor

in eZImageInterface at line 520
public __clone()

in eZImageInterface at line 530
public cloneImage($imageObject, $width, $height, $useTruecolor = null)

Parameters

$imageObject
$width
$height
$useTruecolor

in eZImageInterface at line 546
public width()

in eZImageInterface at line 554
public height()

in eZImageInterface at line 562
public setWidth($w)

Parameters

$w

in eZImageInterface at line 570
public setHeight($h)

Parameters

$h

in eZImageInterface at line 579
public setStoredFile($file, $path, $type)

Parameters

$file
$path
$type

in eZImageInterface at line 589
public setFont($font)

Parameters

$font

in eZImageInterface at line 597
public font()

in eZImageInterface at line 607
public copyImage($destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX, $sourceY)

Parameters

$destinationImageObject
$imageObject
$destinationX
$destinationY
$sourceWidth
$sourceHeight
$sourceX
$sourceY

in eZImageInterface at line 624
public mergeImage($destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX, $sourceY, $transparency)

Parameters

$destinationImageObject
$imageObject
$destinationX
$destinationY
$sourceWidth
$sourceHeight
$sourceX
$sourceY
$transparency

in eZImageInterface at line 642
public blendImage($destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX, $sourceY)

Parameters

$destinationImageObject
$imageObject
$destinationX
$destinationY
$sourceWidth
$sourceHeight
$sourceX
$sourceY

in eZImageInterface at line 652
public merge($imageObject, $x, $y, $width, $height)

Parameters

$imageObject
$x
$y
$width
$height

in eZImageInterface at line 667
public clear($color = false)

Parameters

$color

in eZImageInterface at line 685
public allocateColor($name, $red, $green, $blue)

Parameters

$name
$red
$green
$blue

in eZImageInterface at line 704
public color($name)

Parameters

$name

in eZImageInterface at line 717
public textColor()

in eZImageInterface at line 725
public setTextColor($textColor)

Parameters

$textColor

in eZImageInterface at line 736
public drawText($font, $textColor, $text, $x, $y, $angle, $imageObject = null)

Parameters

$font
$textColor
$text
$x
$y
$angle
$imageObject

at line 23
public eZImageLayer($imageObjectRef = null, $imageObject = null, $width = false, $height = false, $font = false)

Parameters

$imageObjectRef
$imageObject
$width
$height
$font

at line 35
public templateData()

at line 45
public setTemplateURI($uri)

Parameters

$uri

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

Parameters

$image
$layerData
$lastLayerData