Class ImageDisplay.VisRect

    • Field Detail

      • isDragUpdate

        public boolean isDragUpdate
        set when this VisRect is updated by a mouse drag operation and unset on mouse release
    • Constructor Detail

      • VisRect

        public VisRect​(int x,
                       int y,
                       int width,
                       int height)
        Constructs a new VisRect.
        Parameters:
        x - the specified X coordinate
        y - the specified Y coordinate
        width - the width of the rectangle
        height - the height of the rectangle
      • VisRect

        public VisRect​(int x,
                       int y,
                       int width,
                       int height,
                       ImageDisplay.VisRect peer)
        Constructs a new VisRect.
        Parameters:
        x - the specified X coordinate
        y - the specified Y coordinate
        width - the width of the rectangle
        height - the height of the rectangle
        peer - share full bounds with this peer VisRect
      • VisRect

        public VisRect()
        Constructs a new empty VisRect.