ElementImageOutputStrategy.php
31 * @param $lineType The linetype to use [LINETYPE_DIRECT|LINETYPE_ROUTED] DEFAULT LINETYPE_DIRECT.
100 $this->writeFilledBorderedRect(new Position($x + $this->labelDim['left']+5*$i, $y + $this->labelDim['top']+5*$i, 0),
106 $this->writeFilledBorderedRect(new Position($x + $this->labelDim['left'], $y + $this->labelDim['top'], 0),
151 '" onclick="javascript:alert(\'Node OID: '.$obj->getOID().'\')" alt="'.$obj->getOID().'">'."\n";
156 ImageFilledRectangle($this->img, $topleft->x, $topleft->y, $bottomright->x, $bottomright->y, $bgcolor);
OutputStrategy defines the interface for classes that write an object's content to a destination (cal...
Definition: OutputStrategy.php:22
The Position class stores a coordinate tuple for use with the LayoutVisitor.
Definition: Position.php:19
__construct($format, $file, $map, $lineType=self::LINETYPE_DIRECT, $scale=100, $aspect=0.5, $border=50, $usemap='')
Constructor.
Definition: ElementImageOutputStrategy.php:37
writeHeader()
Definition: ElementImageOutputStrategy.php:54
getValueNames($excludeTransient=false)
Get the names of all attributes.
writeObject(PersistentObject $obj)
Definition: ElementImageOutputStrategy.php:76
PersistentObject defines the interface of all persistent objects.
Definition: PersistentObject.php:23
ImageOutputStrategy outputs a tree of objects into an image file.
Definition: ImageOutputStrategy.php:23
getProperty($name)
Get the value of a named property in the object.
ElementImageOutputStrategy outputs a tree of objects into an image file.
Definition: ElementImageOutputStrategy.php:24