-
- All Implemented Interfaces:
public class TouchedAnnotation.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static TouchedAnnotation.Companion
INSTANCE
-
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. -
-
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.
-
-
-
-