Surface.getSurfaceType

This function returns the type of the backend used to create a surface. See #cairo_surface_type_t for available types.

class Surface
getSurfaceType
()

Return Value

Type: cairo.types.SurfaceType

The type of surface.