\Pop\Image\DrawAbstractDraw

Draw abstract class

Summary

Methods
Properties
Constants
__construct()
getImage()
setImage()
hasImage()
setOpacity()
getOpacity()
getFillColor()
getStrokeColor()
getStrokeWidth()
setFillColor()
setStrokeColor()
setStrokeWidth()
No public properties found
No constants found
No protected methods found
$image
$opacity
$fillColor
$strokeColor
$strokeWidth
N/A
No private methods found
No private properties found
N/A

Properties

$image

$image : mixed

Image object

Type

mixed

$opacity

$opacity : mixed

Opacity

Type

mixed

$fillColor

$fillColor : \Pop\Image\Color\Colorinterface

Fill color

Type

\Pop\Image\Color\Colorinterface

$strokeColor

$strokeColor : \Pop\Image\Color\Colorinterface

Stroke color

Type

\Pop\Image\Color\Colorinterface

$strokeWidth

$strokeWidth : integer

Stroke width

Type

integer

Methods

__construct()

__construct(\Pop\Image\Adapter\AbstractAdapter  $image = null) 

Constructor

Instantiate an image edit object

Parameters

\Pop\Image\Adapter\AbstractAdapter $image

hasImage()

hasImage() : boolean

Has the image object

Returns

boolean

setOpacity()

setOpacity(float  $opacity) : \Pop\Image\Draw\AbstractDraw

Set the opacity

Parameters

float $opacity

Returns

\Pop\Image\Draw\AbstractDraw

getOpacity()

getOpacity() : mixed

Get the opacity

Returns

mixed

getFillColor()

getFillColor() : \Pop\Image\Color\Colorinterface

Get fill color

Returns

\Pop\Image\Color\Colorinterface

getStrokeColor()

getStrokeColor() : \Pop\Image\Color\Colorinterface

Get stroke color

Returns

\Pop\Image\Color\Colorinterface

getStrokeWidth()

getStrokeWidth() : integer

Get stroke width

Returns

integer

setStrokeWidth()

setStrokeWidth(integer  $w) : \Pop\Image\Draw\AbstractDraw

Get stroke width

Parameters

integer $w

Returns

\Pop\Image\Draw\AbstractDraw