Interface NativeOverlay

All Known Subinterfaces:
ImageOverlay, NativeTextField

public interface NativeOverlay
A platform element that draws on top of the main playn root layer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add()
    Adds the native overlay to the display.
    void
    Removes the native overlay from the display.
    void
    setBounds(pythagoras.f.IRectangle bounds)
    Sets the bounds of the overlay, in root coordinates.
  • Method Details

    • setBounds

      void setBounds(pythagoras.f.IRectangle bounds)
      Sets the bounds of the overlay, in root coordinates.
    • add

      void add()
      Adds the native overlay to the display. If the overlay is already added, does nothing.
    • remove

      void remove()
      Removes the native overlay from the display. If the overlay is already removed, does nothing.