View Full Version : Sprite bounding box question

6 Nov 2015, 2:40 PM
I have a chart and I would like to add svg images at the end of the chart bars.
I can determine the start of the item on the chart surface but I am unable to determine where on the surface the end of the bar lies.
I've looked at the getBBox() method but it returned the x,y starting position but theres an array of data for the Path of the object.
How do I go about determining the x,y co-ordinates of the end of the bar?

Thanks in advance!

6 Nov 2015, 3:09 PM
I think I found it...sprite._to.widthMaybe theres a better way though