Pattern.setExtend

Sets the mode to be used for drawing outside the area of a pattern. See #cairo_extend_t for details on the semantics of each extend strategy.

The default extend mode is cairo.types.Extend.None for surface patterns and cairo.types.Extend.Pad for gradient patterns.

class Pattern
void
setExtend

Parameters

extend cairo.types.Extend

a #cairo_extend_t describing how the area outside of the pattern will be drawn