Package 

Class ErrorEvent.Viewport


  • 
    public final class ErrorEvent.Viewport
    
                        

    The viewport represents the rectangular area that is currently being viewed. Content outside the viewport is not visible onscreen until scrolled into view.

    • Method Summary

      Modifier and Type Method Description
      final Number getWidth()
      final Number getHeight()
      final JsonElement toJson()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorEvent.Viewport

        ErrorEvent.Viewport(Number width, Number height)
        Parameters:
        width - Width of the viewport (in pixels)
        height - Height of the viewport (in pixels)