Method | Description | |
---|---|---|
decodeToSVG ( string $encoded ) : string | Decode string and generate a full SVG document. |
Method | Description | |
---|---|---|
_generateSVG ( string $pathData, string $viewBox ) : string | Turn path & MBR into a valid SVG string | |
_shiftPoint ( &$points ) : array | Shift point tuple from start of list. |
public static decodeToSVG ( string $encoded ) : string | ||
$encoded | string | - Encoded polyline |
return | string | - SVG document |