Dot and dash line styles can be applied to objects as strokes and further customised to create a variety of different patterns.
About dot/dash line styles
Stroke properties on the Pen Tool's or shape tool's context toolbar let you change your stroke into a dotted or dashed line. For either, the Dash Pattern controls appear when the Dash Line Style is set. Ensure the third/fourth and fifth/sixth pairs are set to 0.
A number grid on the panel sets the line's pattern using three number pairs.
The top pair of Dash and Gap values set the length of the initial dot/dash and subsequent space, respectively. This gives a uniform pattern.
The third/fourth and fifth/sixth pair values, when set, introduce a more complex pattern by setting a different size for additional dots/dashes and spaces.
When enabled, Balanced Dash Pattern applies the pattern to the shape's outline so it appears seamless along the outline and is symmetrical at all corners. When Balanced Dash Pattern is disabled, you can set the Phase value to manually 'shift' the dot/dash line style along so the design begins at a different point in the style's sequence.