PHP Class RedeyeVentures\GeoPattern\SVG

Show file Open project: redeyeventures/geopattern

Protected Properties

Property Type Description
$height
$svgString
$width

Public Methods

Method Description
__construct ( $options = [] )
__toString ( )
addCircle ( $cx, $cy, $r, $args = [] )
addGroup ( $group, $args = [] )
addPath ( $d, $args = [] )
addPolyline ( $points, $args = [] )
addRectangle ( $x, $y, $width, $height, $args = [] )
getString ( )
setHeight ( $height )
setWidth ( $width )

Protected Methods

Method Description
getSvgFooter ( )
getSvgHeader ( )

Method Details

__construct() public method

public __construct ( $options = [] )

__toString() public method

public __toString ( )

addCircle() public method

public addCircle ( $cx, $cy, $r, $args = [] )

addGroup() public method

public addGroup ( $group, $args = [] )

addPath() public method

public addPath ( $d, $args = [] )

addPolyline() public method

public addPolyline ( $points, $args = [] )

addRectangle() public method

public addRectangle ( $x, $y, $width, $height, $args = [] )

getString() public method

public getString ( )

getSvgFooter() protected method

protected getSvgFooter ( )

getSvgHeader() protected method

protected getSvgHeader ( )

setHeight() public method

public setHeight ( $height )

setWidth() public method

public setWidth ( $width )

Property Details

$height protected property

protected $height

$svgString protected property

protected $svgString

$width protected property

protected $width