Class ScreenAdjustedNature


  • public class ScreenAdjustedNature
    extends DefaultMouseMotionNature
    This nature translates mouse coordinates to specified offset and screen dimension. Internally it wraps the SystemCalls and MouseInfoAccessor in proxies which handle the translations.
    • Constructor Detail

      • ScreenAdjustedNature

        public ScreenAdjustedNature​(int x,
                                    int y,
                                    int x2,
                                    int y2)
      • ScreenAdjustedNature

        public ScreenAdjustedNature​(java.awt.Dimension screenSize,
                                    java.awt.Point mouseOffset)