Svg\Tag\Line
Synopsis
class Line
extends Shape
{
- // members
- protected integer $x1 = 0;
- protected integer $y1 = 0;
- protected integer $x2 = 0;
- protected integer $y2 = 0;
- // Inherited members from AbstractTag
- protected Document $document;
- public $tagName;
- protected Style $style;
- protected array $attributes;
- protected boolean $hasShape;
- protected array $children;
- // methods
- public void start()
- // Inherited methods from AbstractTag
- public void __construct()
- public void getDocument()
- public Group|null getParentGroup()
- public void handle()
- public void handleEnd()
- protected void before()
- protected void start()
- protected void end()
- protected void after()
- public void getAttributes()
- protected void setStyle()
- public Style getStyle()
- protected Style makeStyle()
- protected void applyTransform()
Hierarchy
Extends
Members
protected
- $attributes
- $children — array
- $document — Svg\Document
- $hasShape
- $style — Svg\Style
- $x1
- $x2
- $y1
- $y2
public
- $tagName
Methods
public
Inherited from Svg\Tag\Shape
protected
Inherited from Svg\Tag\AbstractTag
protected
- after()
- applyTransform()
- before()
- end()
- makeStyle() — Make a style object from the tag and its attributes
- setStyle()
- start()