lib/ezimage/classes/ezimageinterface.php
File containing the eZImageInterface class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- lib
- Version
- 4.6.0
Functions
\eZImageInterface
Package: lib
File containing the eZImageInterface class.
- Children
- \eZImageObject
- \eZImageLayer
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Properties
Methods


allocateColor(
$name, $red, $green, $blue
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$name | ||
$red | ||
$green | ||
$blue |


blendImage(
$destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX
=
0, $sourceY
=
0
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$destinationImageObject | ||
$imageObject | ||
$destinationX | ||
$destinationY | ||
$sourceWidth | ||
$sourceHeight | ||
$sourceX | ||
$sourceY |


cloneImage(
$imageObject, $width, $height, $useTruecolor
=
null
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$imageObject | ||
$width | ||
$height | ||
$useTruecolor |


copyImage(
$destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX
=
0, $sourceY
=
0
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$destinationImageObject | ||
$imageObject | ||
$destinationX | ||
$destinationY | ||
$sourceWidth | ||
$sourceHeight | ||
$sourceX | ||
$sourceY |


create(
$width, $height, $useTruecolor
=
null
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$width | ||
$height | ||
$useTruecolor |


createImage(
$width, $height, $useTruecolor
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$width | ||
$height | ||
$useTruecolor |


drawText(
$font, $textColor, $text, $x, $y, $angle, $imageObject
=
null
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$font | ||
$textColor | ||
$text | ||
$x | ||
$y | ||
$angle | ||
$imageObject |


eZImageInterface(
$imageObjectRef
=
null, $imageObject
=
null, $width
=
false, $height
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$imageObjectRef | ||
$imageObject | ||
$width | ||
$height |


loadJPEG(
$storedPath, $storedFile
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$storedPath | ||
$storedFile |


merge(
$imageObject, $x, $y, $width, $height
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$imageObject | ||
$x | ||
$y | ||
$width | ||
$height |


mergeImage(
$destinationImageObject, $imageObject, $destinationX, $destinationY, $sourceWidth, $sourceHeight, $sourceX
=
0, $sourceY
=
0, $transparency
=
0
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$destinationImageObject | ||
$imageObject | ||
$destinationX | ||
$destinationY | ||
$sourceWidth | ||
$sourceHeight | ||
$sourceX | ||
$sourceY | ||
$transparency |


store(
$fileName, $filePath, $type
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$fileName | ||
$filePath | ||
$type |