How is the pattern background applied?

Create a shape and apply the pattern swatch.