How to create dots, lines, and dashstrokes?