DrawInterface
in
Draw interface
Tags
Table of Contents
- getFillColor() : Colorinterface
- Get fill color
- getOpacity() : mixed
- Get the opacity
- getStrokeColor() : Colorinterface
- Get stroke color
- getStrokeWidth() : int
- Get stroke width
- setFillColor() : DrawInterface
- Set fill color
- setOpacity() : DrawInterface
- Set the opacity
- setStrokeColor() : DrawInterface
- Set stroke color
- setStrokeWidth() : DrawInterface
- Get stroke width
Methods
getFillColor()
Get fill color
public
getFillColor() : Colorinterface
Return values
Colorinterface —getOpacity()
Get the opacity
public
getOpacity() : mixed
Return values
mixed —getStrokeColor()
Get stroke color
public
getStrokeColor() : Colorinterface
Return values
Colorinterface —getStrokeWidth()
Get stroke width
public
getStrokeWidth() : int
Return values
int —setFillColor()
Set fill color
public
setFillColor(ColorInterface $color) : DrawInterface
Parameters
- $color : ColorInterface
Return values
DrawInterface —setOpacity()
Set the opacity
public
setOpacity(float $opacity) : DrawInterface
Parameters
- $opacity : float
Return values
DrawInterface —setStrokeColor()
Set stroke color
public
setStrokeColor(ColorInterface $color) : DrawInterface
Parameters
- $color : ColorInterface
Return values
DrawInterface —setStrokeWidth()
Get stroke width
public
setStrokeWidth(int $w) : DrawInterface
Parameters
- $w : int