Tweening a line?

Is it possible to do amotion tween with a simple line or do i need to create a rectangle and tween that?