Interface ClippingListener

All Superinterfaces:
EventListener

public interface ClippingListener extends EventListener
An interface for a listener for clipping events which will be called by the renderer in the case an element is clipped while rendering. To register your own ClippingListener, simply implement this interface, and add it to the engine via Engine.addClippingListener(ClippingListener).
Since:
6.1
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method will be called every time an element is clipped while rendering, if its listener has been registered by a call of Engine's addClippingListener.
  • Method Details

    • clippingOnElement

      void clippingOnElement(ClippingEvent event)
      This method will be called every time an element is clipped while rendering, if its listener has been registered by a call of Engine's addClippingListener. The ClippingEvent object holds all information about the clip - including the reference to the element clipped, the full text of the element, and the text which will be displayed after clipping.
      Parameters:
      event - ClippingEvent, with information about the clip.
      Since:
      6.1