Pattern.getUserData

void * getUserData(cairo.types.UserDataKey key)

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.

Parameters

keythe address of the #cairo_user_data_key_t the user data was attached to

Returns

the user data previously attached or null.