Canvas Class

Inheritance diagram of Canvas

class Canvas(display)

Abstract drawing area.

Canvases are used internally by pyglet to represent drawing areas – either within a window or full-screen.

Note

Since pyglet 1.2

Constructor:

__init__(display)
Parameters:display (Display) – display

Previous topic

get_display Function

Next topic

Display Class