Tile-based construction
The pattern is drawn inside one repeatable tile rather than across an open canvas. Any shape that would cross the tile boundary is split and continued on the opposite edge, so the left edge of the tile always matches what would be the right edge of the next copy, and likewise top to bottom. This is what makes background-repeat or a tiled fill look continuous instead of showing a seam.