Pattern.setExtend

void setExtend(cairo.types.Extend extend)

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.

Parameters

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