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