CanvasResizeEvent
Event emitted when a Canvas reports a new rendered size.
This event is delivered through on_resize and carries the latest measured dimensions in logical pixels.
Inherits: Event
Properties
heightclass-attributeinstance-attribute
height: float = field(metadata={'data_field': 'h'})New height of the canvas.
widthclass-attributeinstance-attribute
width: float = field(metadata={'data_field': 'w'})New width of the canvas.