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_EXTEND_NONE for surface patterns and CAIRO_EXTEND_PAD for gradient patterns.

class Pattern
void
setExtend

Parameters

extend cairo_extend_t

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

Meta