eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZImageInterface

class eZImageInterface

Properties

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

Methods

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

isTruecolor()

attributeMemberMap()

attributeFunctionMap()

attributes()

hasAttribute($name)

attribute($name)

isProcessed()

hasSize()

imagePath()

setAlternativeText($text)

alternativeText()

loadPNG($storedPath, $storedFile)

loadJPEG($storedPath, $storedFile)

loadGIF($storedPath, $storedFile)

load()

destroy()

imageObject($createMissing = true)

imageObjectInternal($createMissing = true)

process()

processImage()

store($fileName, $filePath, $type)

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

__clone()

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

width()

height()

setWidth($w)

setHeight($h)

setStoredFile($file, $path, $type)

setFont($font)

font()

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

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

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

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

clear($color = false)

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

color($name)

textColor()

setTextColor($textColor)

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

Details

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

Parameters

$imageObjectRef
$imageObject
$width
$height

at line 40
public isTruecolor()

at line 50
public attributeMemberMap()

at line 64
public attributeFunctionMap()

at line 73
public attributes()

at line 82
public hasAttribute($name)

Parameters

$name

at line 96
public attribute($name)

Parameters

$name

at line 124
public isProcessed()

at line 132
public hasSize()

at line 141
public imagePath()

at line 151
public setAlternativeText($text)

Parameters

$text

at line 160
public alternativeText()

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

Parameters

$storedPath
$storedFile

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

Parameters

$storedPath
$storedFile

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

Parameters

$storedPath
$storedFile

at line 272
public load()

at line 311
public destroy()

at line 329
public imageObject($createMissing = true)

Parameters

$createMissing

at line 351
public imageObjectInternal($createMissing = true)

Parameters

$createMissing

at line 366
public process()

at line 378
public processImage()

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

Parameters

$fileName
$filePath
$type

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

Parameters

$width
$height
$useTruecolor

at line 520
public __clone()

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

Parameters

$imageObject
$width
$height
$useTruecolor

at line 546
public width()

at line 554
public height()

at line 562
public setWidth($w)

Parameters

$w

at line 570
public setHeight($h)

Parameters

$h

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

Parameters

$file
$path
$type

at line 589
public setFont($font)

Parameters

$font

at line 597
public font()

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

Parameters

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

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

Parameters

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

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

Parameters

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

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

Parameters

$imageObject
$x
$y
$width
$height

at line 667
public clear($color = false)

Parameters

$color

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

Parameters

$name
$red
$green
$blue

at line 704
public color($name)

Parameters

$name

at line 717
public textColor()

at line 725
public setTextColor($textColor)

Parameters

$textColor

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

Parameters

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