Class SurfaceSize

    • Constructor Detail

    • Method Detail

      • getResolution

        public final DimensionImmutable getResolution()
        Returns the resolution in pixel units
      • getBitsPerPixel

        public final int getBitsPerPixel()
      • equals

        public final boolean equals​(Object obj)
        Checks whether two size objects are equal. Two instances of SurfaceSize are equal if the two components resolution and bitsPerPixel are equal.
        Overrides:
        equals in class Object
        Returns:
        true if the two dimensions are equal; otherwise false.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object