Context.getSource

Gets the current source pattern for cr. Since 1.0

class Context
getSource
()

Return Value

Type: Pattern

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