DrawInterface
in
Draw interface
Tags
Table of Contents
Methods
- 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
ColorinterfacegetOpacity()
Get the opacity
public
getOpacity() : mixed
getStrokeColor()
Get stroke color
public
getStrokeColor() : Colorinterface
Return values
ColorinterfacegetStrokeWidth()
Get stroke width
public
getStrokeWidth() : int
Return values
intsetFillColor()
Set fill color
public
setFillColor(ColorInterface $color) : DrawInterface
Parameters
- $color : ColorInterface
Return values
DrawInterfacesetOpacity()
Set the opacity
public
setOpacity(int|float $opacity) : DrawInterface
Parameters
- $opacity : int|float
Return values
DrawInterfacesetStrokeColor()
Set stroke color
public
setStrokeColor(ColorInterface $color) : DrawInterface
Parameters
- $color : ColorInterface
Return values
DrawInterfacesetStrokeWidth()
Get stroke width
public
setStrokeWidth(int $w) : DrawInterface
Parameters
- $w : int