summaryrefslogtreecommitdiffstats
path: root/src/options
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-03-08 12:01:24 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-03-08 12:01:24 +0000
commitb08ae56b53938333b051b91b0a1f912428864950 (patch)
tree68f089c05feab87cbaf0c3cfcd36407b3cce755f /src/options
parenteff7a30681180181dc22b9500e6db45a7a916183 (diff)
downloadzetacomponents-graph-b08ae56b53938333b051b91b0a1f912428864950.zip
zetacomponents-graph-b08ae56b53938333b051b91b0a1f912428864950.tar.gz
- Added feature #9511: Added helper functions to create image maps an link SVG
images in ezcGraphTools
Diffstat (limited to 'src/options')
-rw-r--r--src/options/svg_driver.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/options/svg_driver.php b/src/options/svg_driver.php
index f7c2f12..9007252 100644
--- a/src/options/svg_driver.php
+++ b/src/options/svg_driver.php
@@ -49,6 +49,8 @@
* Offset of the graph in the svg.
* @property string $idPrefix
* Prefix used for the ids in SVG documents.
+ * @property string $linkCursor
+ * CSS value for cursor property used for linked SVG elements
*
* @package Graph
*/
@@ -75,6 +77,7 @@ class ezcGraphSvgDriverOptions extends ezcGraphDriverOptions
$this->properties['insertIntoGroup'] = false;
$this->properties['graphOffset'] = new ezcGraphCoordinate( 0, 0 );
$this->properties['idPrefix'] = 'ezcGraph';
+ $this->properties['linkCursor'] = 'pointer';
parent::__construct( $options );
}
@@ -234,6 +237,9 @@ class ezcGraphSvgDriverOptions extends ezcGraphDriverOptions
case 'encoding':
$this->properties['encoding'] = (string) $propertyValue;
break;
+ case 'linkCursor':
+ $this->properties['linkCursor'] = (string) $propertyValue;
+ break;
default:
parent::__set( $propertyName, $propertyValue );
break;
OpenPOWER on IntegriCloud