in reply to Re: Mouse action using SVG
in thread Mouse action using SVG
Here is the perl script to draw rectangle using SVG module. In which, I would like to have mouse interactivity. The module supports mouse actions but I am not clear about how to use it.
$svg->rectangle( x =>$x1, y =>$y1, width => $x2, height => $y2, style => { 'fill' => 'rgb(0, 0, 128)', 'stroke' => 'black', 'stroke-width' => 1, 'stroke-opacity' => 1, 'fill-opacity' => 1, }, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Mouse action using SVG
by LanX (Saint) on Jul 29, 2016 at 21:53 UTC | |
|
Re^3: Mouse action using SVG
by Anonymous Monk on Jul 29, 2016 at 22:06 UTC | |
by Ezhil4663 (Novice) on Jul 30, 2016 at 18:40 UTC | |
by tye (Sage) on Jul 30, 2016 at 19:26 UTC |