CanvasResizeEvent Inherits: Event['Canvas'] Properties height(float) – New height of the canvas. width(float) – New width of the canvas. Properties# height # height: float = field(metadata={'data_field': 'h'}) New height of the canvas. width # width: float = field(metadata={'data_field': 'w'}) New width of the canvas.