Repeats the current shape n
times by applying transform
iteratively.
A positive integer representing the number of times a shape is to be repeated.
An instance of Transformation that is applied every time the shape is repeated.
The current instance of Shape for chaining.
Displays a shape. Steps performed for display are as follows.
Optional
r: DrawableAn instance of Drawable.
Applies a Translate transformation to the current Shape instance.
Amount to translate along the positive x-axis. Defaults to 0
.
Amount to translate along the positive y-axis. Defaults to 0
.
The current instance of Shape for chaining.
Represents a Line shape.