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
EventHandler
An
Eventhandler
is a type capable of being registered with theDispatcher
to receive events of a certain type.
Requirements
onCanvasResize(size:)
func onCanvasResize(size:Size)