Hi guys, here is the problem:
I have to check whether a string is longer than the path which contains it. Is there a Dom method to know the length of an element? So I could check whether the first (element, the string) is longer than the second (the rect or path which contains it).
Can anyone help me? Please T_T
How to know the length of an element
- prokoudine
- Posts: 186
- Joined: Sat Jun 09, 2007 4:32 am
- Contact:
Re: How to know the length of an element
Use Measure Path extensions from Extensions menu
http://libregraphicsworld.org — news and tutorials on free design software
Re: How to know the length of an element
Or if it's perfectly horizontal or vertical, use the node tool and do math with the X and Y coordinates.
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