Search⌘ K
AI Features

Filling Text and Stroke with Gradient

Explore how to apply gradient fills and strokes to text and paths in Pycairo. Learn techniques for setting linear gradients as sources before stroking shapes or displaying text to create visually rich vector graphics.

We'll cover the following...

Filling stroke

Remember that when we apply a stroke to a path, the stroke itself is a shape in its own right. We can paint the stroke with a gradient. It tends to work best ...