Pattern.getUserData

Return user data previously attached to pattern using the specified key. If no user data has been attached with the given key this function returns NULL. Since 1.4

class Pattern
void*
getUserData

Parameters

key cairo_user_data_key_t*

the address of the cairo_user_data_key_t the user data was attached to

Return Value

Type: void*

the user data previously attached or NULL.