Class PixelPos

    • Constructor Detail

      • PixelPos

        public PixelPos()
        Constructs and initializes a PixelPos with coordinate (0, 0).
      • PixelPos

        public PixelPos​(double x,
                        double y)
        Constructs and initializes a PixelPos with the specified coordinate.
        Parameters:
        x - the x component of the coordinate
        y - the y component of the coordinate
    • Method Detail

      • isValid

        public boolean isValid()
        Tests whether or not this pixel position is valid.
        Returns:
        true, if so
      • setInvalid

        public void setInvalid()
        Sets this pixel position so that is becomes invalid.