Package 

Class TouchedAnnotation

  • All Implemented Interfaces:

    
    public class TouchedAnnotation
    
                        

    * TouchedAnnotation - class describing an annotation that has been touched, and the coordinates of the touch inside the Texture, which computed internally with the origin in top-left corner Copyright reserved by telenav 2020.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      TouchedAnnotation(Annotation annotation, int touchedInsideX, int touchedInsideY)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static TouchedAnnotation createTouchedAnnotation(@NonNull() Annotation annotation, int touchedInsideX, int 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

      • TouchedAnnotation

        TouchedAnnotation(Annotation annotation, int touchedInsideX, int touchedInsideY)
    • Method Detail

      • createTouchedAnnotation

         static TouchedAnnotation createTouchedAnnotation(@NonNull() Annotation annotation, int touchedInsideX, int 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.