The other thing you could do which would be more time consuming but possibly more flexible with using the line creatively is……Do an autotrace around the object, then apply stroke to the layer and point it to use the autotrace mask. The stroked edge around the object can then be keyframed to move between start and end points, expanding or collapsing the size of the stroke, changing colour etc. Just a thought.