old dan... just lay there in the sunshine all stretched out and limber as a rag.

what type of figure of language is this

metaphor or what

wow - you did that post all by yourself, autonomous??

The "as" is a dead giveaway for a simile.