Device.getDeviceType

This function returns the type of the device. See #cairo_device_type_t for available types.

class Device
getDeviceType
()

Return Value

Type: cairo.types.DeviceType

The type of device.