\Pop\Image\TypeTypeInterface

Type interface

Summary

Methods
Constants
getOpacity()
getFillColor()
getStrokeColor()
getStrokeWidth()
setFillColor()
setStrokeColor()
setStrokeWidth()
size()
font()
x()
y()
xy()
rotate()
setOpacity()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getOpacity()

getOpacity() : mixed

Get the opacity

Returns

mixed

getStrokeWidth()

getStrokeWidth() : integer

Get stroke width

Returns

integer

setStrokeWidth()

setStrokeWidth(integer  $w) : \Pop\Image\Type\TypeInterface

Set stroke width

Parameters

integer $w

Returns

\Pop\Image\Type\TypeInterface

xy()

xy(integer  $x, integer  $y) : \Pop\Image\Type\TypeInterface

Set both the X- and Y-positions

Parameters

integer $x
integer $y

Returns

\Pop\Image\Type\TypeInterface

rotate()

rotate(integer  $degrees) : \Pop\Image\Type\TypeInterface

Set the rotation of the text

Parameters

integer $degrees

Returns

\Pop\Image\Type\TypeInterface

setOpacity()

setOpacity(mixed  $opacity) : \Pop\Image\Type\TypeInterface

Set the opacity

Parameters

mixed $opacity

Returns

\Pop\Image\Type\TypeInterface