Search⌘ K
AI Features

Patterns

Explore various pattern types in Pycairo such as solid colors, linear and radial gradients, and image fills. Understand how to apply these patterns using the set_source function to create rich, detailed vector graphics.

We'll cover the following...

Types of Patterns

Pattern is an abstract class that represents all of Pycairo’s fill methods. We cannot create a Pattern object (because the class is abstract), but we can create the following sub-classes: ...