I have an XML file like:
<PointCollection>
<Point x="2453.553575623344" y="1011.755461592671"/>
<Point x="2260.662874593102" y="1102.865398167724"/>
<Point x="2259.547233128629" y="1276.871740662439"/>
<Point x="2293.490150676198" y="1444.799859055673"/>
<Point x="2375.667740528206" y="1696.692036645525"/>
<Point x="2480.350615792477" y="1865.216215309236"/>
<Point x="2757.972180274506" y="1877.125440451022"/>
<Point x="2939.521225544476" y="1715.15279036209"/>
<Point x="3052.739622134972" y="1443.013389711065"/>
<Point x="2997.359072452096" y="1135.740662438337"/>
<Point x="2774.050404375987" y="1030.338971106413"/>
</PointCollection>
I need to draw lines between these points and create a shape over UIIMage to annotate a specific area on that image.For example I m going to draw a line between Point x="2453.553575623344" y="1011.755461592671" and Point x="2260.662874593102" y="1102.865398167724" which have x and y coordinates according to the resolution of the image. How can i do this? Thank you.
drawRect- Dancreek