Surface.getContent

cairo.types.Content getContent()

This function returns the content type of surface which indicates whether the surface contains color and/or alpha information. See #cairo_content_t.

Returns

The content type of surface.