For example, I want to draw a gradient line and repeat it according to the specified vertical and horizontal spacing.