getUserData

fnvoid * getUserData(cairo.context.Context cr, cairo.types.UserDataKey key)

Return user data previously attached to cr using the specified key. If no user data has been attached with the given key this function returns null.

Parameters

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

Returns

the user data previously attached or null.