Package 

Object TouchedAnnotation.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final TouchedAnnotation createTouchedAnnotation(Annotation annotation, Integer touchedInsideX, Integer touchedInsideY) Create a TouchedAnnotation object from an Annotation object, and the x and y coordinates of the touch event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • createTouchedAnnotation

         final TouchedAnnotation createTouchedAnnotation(Annotation annotation, Integer touchedInsideX, Integer touchedInsideY)

        Create a TouchedAnnotation object from an Annotation object, and the x and y coordinates of the touch event.

        Parameters:
        annotation - Annotation - The annotation that was touched.
        touchedInsideX - The X coordinate of the offset relative to the texture size.
        touchedInsideY - The Y coordinate of the offset relative to the texture size.