Creates a new pattern for the given surface
Get the current extend mode for this pattern.
Source: gjs/modules/cairo-surface-pattern.cpp getExtend_func.
Get the current filter for this pattern.
Source: gjs/modules/cairo-surface-pattern.cpp getFilter_func.
Sets the mode to be used for drawing outside the area of this pattern. By default the Extend.NONE mode is used (a transparent pixel) for surface patterns and Extend.PAD for gradients.
Source: gjs/modules/cairo-surface-pattern.cpp setExtend_func.
The extend mode
Set the filter to be used for resizing when using this pattern.
Source: gjs/modules/cairo-surface-pattern.cpp setFilter_func.
The filter
A pattern that uses a surface as its source