Interface Display.PointerIcon

    • Method Detail

      • isGLOriented

        boolean isGLOriented()
        Always false, i.e. origin is TOP-LEFT.

        Returns true if the memory is laid out in OpenGL's coordinate system, origin at bottom left. Otherwise returns false, i.e. origin at top left.

        Specified by:
        isGLOriented in interface PixelRectangle
      • hashCode

        int hashCode()
        Computes a hash code over:
        • display
        • pixelformat
        • size
        • stride
        • isGLOriented
        • pixels
        • hotspot
        Dismissing the native handle!

        The hashCode shall be computed only once with first call and stored for later retrieval to enhance performance.

        Computes a hash code over:

        • pixelformat
        • size
        • stride
        • isGLOriented
        • pixels

        The hashCode shall be computed only once with first call and stored for later retrieval to enhance performance.

        Specified by:
        hashCode in interface PixelRectangle
        Overrides:
        hashCode in class Object
      • getDisplay

        Display getDisplay()
        Returns:
        the associated Display
      • isValid

        boolean isValid()
        Returns true if valid, otherwise false.

        A PointerIcon instance becomes invalid if it's associated Display is destroyed.

      • destroy

        void destroy()
        Destroys this instance.

        Will be called automatically if it's associated Display is destroyed.