Hi, I am new to SVG and Inkscape. Is there anyway I can make the area inside a path clickable? It appears that if I use the "Create Link" in Inkscape, it only makes the path itself clickable but not the area within the path.
Any suggestion is appreciated.
Thanks!
Charles
Detecting click inside a path
Re: Detecting click inside a path
When you say clickable, do you mean to be able to select it with
? If so, I don't think there's anything you can do. If an object does not have a fill, or the fill is completely transparent, you can't select it.
Likewise, if an object has no fill or stroke, you can't select it at all with a click of the mouse. Instead you have to drag a selection around where you guess it would be, or switch your view mode from normal to outline.
? If so, I don't think there's anything you can do. If an object does not have a fill, or the fill is completely transparent, you can't select it.Likewise, if an object has no fill or stroke, you can't select it at all with a click of the mouse. Instead you have to drag a selection around where you guess it would be, or switch your view mode from normal to outline.
Re: Detecting click inside a path
I think he's talking about making URL links.
And I'm only guessing here. But does the path have a fill? If not, try giving it a transparent fill. If that doesn't work, try making 99.99% transparent.
If the path already has a fill, and you still have to click on the path or stroke, then I'm thinking you'll have to manipulate the code in XML Editor. Unfortunately, I know very little about XML
I've played around with adding links to text, but not to paths...
Last thought -- is the path closed? If not, maybe it should be closed, to allow clicking in the fill area?
Sorry, wish I could be more help. But hopefully other members will know more about it.
And I'm only guessing here. But does the path have a fill? If not, try giving it a transparent fill. If that doesn't work, try making 99.99% transparent.
If the path already has a fill, and you still have to click on the path or stroke, then I'm thinking you'll have to manipulate the code in XML Editor. Unfortunately, I know very little about XML
I've played around with adding links to text, but not to paths...
Last thought -- is the path closed? If not, maybe it should be closed, to allow clicking in the fill area?
Sorry, wish I could be more help. But hopefully other members will know more about it.
Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
