Interface Surface.OnRender

Enclosing class:
Surface
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Surface.OnRender
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onRender(Region region)
    Emitted when part of the surface needs to be redrawn.
  • Method Details

    • onRender

      boolean onRender(@Nonnull Region region)
      Emitted when part of the surface needs to be redrawn.
      Parameters:
      region - the region that needs to be redrawn
      Returns:
      %TRUE to indicate that the signal has been handled