dispose method

dispose

Disposes this device instance. Finalizes this device instance graphics state, i.e. switches composing context to the level higher then this device’s graphics state.

def dispose(self):
    ...

See Also