Context.getSource

Gets the current source pattern for cr.

class Context
getSource
()

Return Value

Type: cairo.pattern.Pattern

the current source pattern. This object is owned by cairo. To keep a reference to it, you must call cairo.pattern.Pattern.reference.