\Pop\Image\DrawDrawInterface

Draw interface

Summary

Methods
Constants
setOpacity()
getOpacity()
getFillColor()
getStrokeColor()
getStrokeWidth()
setFillColor()
setStrokeColor()
setStrokeWidth()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setOpacity()

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

Set the opacity

Parameters

float $opacity

Returns

\Pop\Image\Draw\DrawInterface

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\DrawInterface

Get stroke width

Parameters

integer $w

Returns

\Pop\Image\Draw\DrawInterface