Class ViewportOffsetImpl

    • Field Detail

      • _offsetX

        protected int _offsetX
      • _offsetY

        protected int _offsetY
    • Constructor Detail

      • ViewportOffsetImpl

        protected ViewportOffsetImpl​()
        Instantiates a new viewport offset impl.
      • ViewportOffsetImpl

        public ViewportOffsetImpl​(int aOffsetX,
                                  int aOffsetY)
        Instantiates a new viewport offset impl.
        Parameters:
        aOffsetX - the offset X
        aOffsetY - the offset Y
    • Method Detail

      • getViewportOffsetX

        public int getViewportOffsetX​()
        Retrieves the X offset from the X offset property.
        Specified by:
        getViewportOffsetX in interface ViewportOffsetXAccessor
        Returns:
        The X offset stored by the X offset property.
      • getViewportOffsetY

        public int getViewportOffsetY​()
        Retrieves the Y offset from the Y offset property.
        Specified by:
        getViewportOffsetY in interface ViewportOffsetYAccessor
        Returns:
        The Y offset stored by the Y offset property.
      • toString

        public java.lang.String toString​()
        Overrides:
        toString in class java.lang.Object