Drawing shapes in client (PathBasedVisionShape)

I would like to draw shapes like line, square and circle in the client but without using paintable canvas just like in designer. Why I don’t want to use paintable canvas is because later I want to get all the drawn elements as a component (.getComponents()) and that can’t be done using it. Is there a way to draw shapes in the designer and get them back as a component (PathBasedVisionShape)?
Thank you for the answers.

Have you tried the shape tools?
Check these out and see if that is what you are looking for: https://docs.inductiveautomation.com/display/DOC79/Drawing+Tools

That’s exactly what I want to use but not in the designer. I want to be able to use shape tools in client.