imageSurfaceGetFormat

Get the format of the surface.

Parameters

surface cairo.surface.Surface

a #cairo_image_surface_t

Return Value

Type: cairo.types.Format

the format of the surface