Pablo

last()

Returns a collection containing the last element of the collection. This is identical to calling collection.eq(-1).

var svg = Pablo(demoElement).svg({height: 60});

svg.rect({width: 30, height: 30});
svg.circle({r: 30, cx: 100, cy: 30});
svg.circle({r: 30, cx: 170, cy: 30});

svg.find('circle').last().attr({'fill':'red'});
Painting is just another way of keeping a diary.
Pablo Picasso