onViewportResize abstract method

  1. @protected
void onViewportResize()

Override in order to perform a custom action upon resize.

A typical use-case would be to adjust the viewport's clip mask to match the new size.

Implementation

@protected
void onViewportResize();