lib/ezimage/classes/ezimagetextlayer.php
File containing the eZImageTextLayer 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
\eZImageTextLayer
Package: lib
File containing the eZImageTextLayer class.
- Parent(s)
- \eZImageLayer < \eZImageInterface
- 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


$AlternativeText= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$AlternativeText
- Inherited_from
- \eZImageLayer::$$AlternativeText


$Font= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$Font
- Inherited_from
- \eZImageLayer::$$Font


$Height= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$Height
- Inherited_from
- \eZImageLayer::$$Height


$ImageObject= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$ImageObject
- Inherited_from
- \eZImageLayer::$$ImageObject


$ImageObjectRef= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$ImageObjectRef
- Inherited_from
- \eZImageLayer::$$ImageObjectRef


$IsProcessed= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$IsProcessed
- Inherited_from
- \eZImageLayer::$$IsProcessed


$IsTrueColor= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$IsTrueColor
- Inherited_from
- \eZImageLayer::$$IsTrueColor


$Palette= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$Palette
- Inherited_from
- \eZImageLayer::$$Palette


$PaletteIndex= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$PaletteIndex
- Inherited_from
- \eZImageLayer::$$PaletteIndex


$StoredFile= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$StoredFile
- Inherited_from
- \eZImageLayer::$$StoredFile


$StoredPath= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$StoredPath
- Inherited_from
- \eZImageLayer::$$StoredPath


$StoredType= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$StoredType
- Inherited_from
- \eZImageLayer::$$StoredType


$TemplateURI= ''
inheritedInherited from:
\eZImageLayer::$$TemplateURI
Details
- Type
- n/a
- Inherited_from
- \eZImageLayer::$$TemplateURI


$Width= ''
Details
- Type
- n/a
- Inherited_from
- \eZImageInterface::$$Width
- Inherited_from
- \eZImageLayer::$$Width
Methods


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


attributeFunctionMap(
)
:
void
inherited
Inherited from:
\eZImageInterface::attributeFunctionMap()\eZImageLayer::attributeFunctionMap()


attributeMemberMap(
)
:
void
inherited
Inherited from:
\eZImageInterface::attributeMemberMap()\eZImageLayer::attributeMemberMap()


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


cleanupRegisteredImages(
)
:
void
staticinherited
Inherited from:
\eZImageInterface::cleanupRegisteredImages()\eZImageLayer::cleanupRegisteredImages()


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 |


createForFile(
$fileName, $filePath, $fileType
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$fileName | ||
$filePath | ||
$fileType |


createForText(
$text, $font, $widthAdjustment, $heightAdjustment, $angle, $absoluteWidth
=
false, $absoluteHeight
=
false
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$text | ||
$font | ||
$widthAdjustment | ||
$heightAdjustment | ||
$angle | ||
$absoluteWidth | ||
$absoluteHeight |


createImage(
$width, $height, $useTruecolor
)
:
void
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 |


eZImageLayer(
$imageObjectRef
=
null, $imageObject
=
null, $width
=
false, $height
=
false, $font
=
false
)
:
void
inherited
Inherited from:
\eZImageLayer::eZImageLayer()
Parameters
Name | Type | Description |
---|---|---|
$imageObjectRef | ||
$imageObject | ||
$width | ||
$height | ||
$font |


eZImageTextLayer(
$imageObjectRef
=
null, $imageObject
=
null, $width
=
false, $height
=
false, $font
=
false, $boundingBox
=
null, $text
=
null, $textAngle
=
0
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$imageObjectRef | ||
$imageObject | ||
$width | ||
$height | ||
$font | ||
$boundingBox | ||
$text | ||
$textAngle |


imageObjectInternal(
$createMissing
=
true
)
:
void
inherited
Inherited from:
\eZImageInterface::imageObjectInternal()\eZImageLayer::imageObjectInternal()
Parameters
Name | Type | Description |
---|---|---|
$createMissing |


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 |


mergeLayer(
$image, $layerData, $lastLayerData
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$image | ||
$layerData | ||
$lastLayerData |


setAlternativeText(
$text
)
:
void
inherited
Inherited from:
\eZImageInterface::setAlternativeText()\eZImageLayer::setAlternativeText()
Parameters
Name | Type | Description |
---|---|---|
$text |


setTemplateURI(
$uri
)
:
void
inherited
Inherited from:
\eZImageLayer::setTemplateURI()
Parameters
Name | Type | Description |
---|---|---|
$uri |


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


unregisterImage(
$imageRef
)
:
void
staticinherited
Inherited from:
\eZImageInterface::unregisterImage()\eZImageLayer::unregisterImage()
Parameters
Name | Type | Description |
---|---|---|
$imageRef |