Protocol
CanvasResizeHandler
public protocol CanvasResizeHandler : EventHandler
A type conforming to CanvasResizeHandler is capable of receiving
canvas resize events through the onCanvasResize method.
Before receiving events, it must be registered with the dispatcher via the registerCanvasResizeHandler method. Similarly, it should be unregistered before deinitialization via the unregisterCanvasResizeHandler method available through the dispatcher.
Relationships
Conforms To
EventHandlerAn
Eventhandleris a type capable of being registered with theDispatcherto receive events of a certain type.
Requirements
onCanvasResize(size:)
func onCanvasResize(size:Size)