Document
extends AbstractTag
in package
Table of Contents
- $inDefs : mixed
- $defs : array<string|int, AbstractTag>
- $filename : mixed
- $height : mixed
- $parser : resource
- $pathBBox : mixed
- $stack : array<string|int, AbstractTag>
- $styleSheets : array<string|int, Document>
- $subPathInit : mixed
- $surface : SurfaceInterface
- $viewBox : mixed
- $width : mixed
- $x : mixed
- $y : mixed
- __construct() : mixed
- _charData() : mixed
- _tagEnd() : mixed
- appendStyleSheet() : mixed
- Append a style sheet
- getDef() : mixed
- getDimensions() : mixed
- getDocument() : mixed
- getHeight() : mixed
- getStack() : mixed
- getStyleSheets() : array<string|int, Document>
- Get the document style sheets
- getSurface() : SurfaceInterface
- getWidth() : mixed
- handleSizeAttributes() : mixed
- loadFile() : mixed
- render() : mixed
- before() : mixed
- initParser() : mixed
- svgOffset() : mixed
- _tagStart() : mixed
Properties
$inDefs
public
mixed
$inDefs
= false
$defs
protected
array<string|int, AbstractTag>
$defs
= array()
$filename
protected
mixed
$filename
$height
protected
mixed
$height
$parser
protected
resource
$parser
$pathBBox
protected
mixed
$pathBBox
$stack
protected
array<string|int, AbstractTag>
$stack
= array()
$styleSheets
protected
array<string|int, Document>
$styleSheets
= array()
$subPathInit
protected
mixed
$subPathInit
$surface
protected
SurfaceInterface
$surface
$viewBox
protected
mixed
$viewBox
$width
protected
mixed
$width
$x
protected
mixed
$x
$y
protected
mixed
$y
Methods
__construct()
public
__construct() : mixed
Return values
mixed —_charData()
public
_charData(mixed $parser, mixed $data) : mixed
Parameters
- $parser : mixed
- $data : mixed
Return values
mixed —_tagEnd()
public
_tagEnd(mixed $parser, mixed $name) : mixed
Parameters
- $parser : mixed
- $name : mixed
Return values
mixed —appendStyleSheet()
Append a style sheet
public
appendStyleSheet(Document $stylesheet) : mixed
Parameters
- $stylesheet : Document
Return values
mixed —getDef()
public
getDef(mixed $id) : mixed
Parameters
- $id : mixed
Return values
mixed —getDimensions()
public
getDimensions() : mixed
Return values
mixed —getDocument()
public
getDocument() : mixed
Return values
mixed —getHeight()
public
getHeight() : mixed
Return values
mixed —getStack()
public
getStack() : mixed
Return values
mixed —getStyleSheets()
Get the document style sheets
public
getStyleSheets() : array<string|int, Document>
Return values
array<string|int, Document> —getSurface()
public
getSurface() : SurfaceInterface
Return values
SurfaceInterface —getWidth()
public
getWidth() : mixed
Return values
mixed —handleSizeAttributes()
public
handleSizeAttributes(mixed $attributes) : mixed
Parameters
- $attributes : mixed
Return values
mixed —loadFile()
public
loadFile(mixed $filename) : mixed
Parameters
- $filename : mixed
Return values
mixed —render()
public
render(SurfaceInterface $surface) : mixed
Parameters
- $surface : SurfaceInterface
Return values
mixed —before()
protected
before(mixed $attributes) : mixed
Parameters
- $attributes : mixed
Return values
mixed —initParser()
protected
initParser() : mixed
Return values
mixed —svgOffset()
protected
svgOffset(mixed $attributes) : mixed
Parameters
- $attributes : mixed
Return values
mixed —_tagStart()
private
_tagStart(mixed $parser, mixed $name, mixed $attributes) : mixed
Parameters
- $parser : mixed
- $name : mixed
- $attributes : mixed