Search⌘ K

Using SurfacePattern with Vectors

Explore how to use SurfacePattern with vectors in Pycairo to create tiny, tileable vector images. Learn to fill shapes with repeating patterns like dots or hatching that remain smooth and crisp even at high resolutions.

We'll cover the following...

Vectors in SurfacePattern

We don’t need to fill a SurfacePattern with an image. We can draw a vector fill instead.

Here, we will create a tiny vector image —30 ...