Package com.massifmaps.ui
Class VectorElementDragInfo
java.lang.Object
com.massifmaps.ui.VectorElementDragInfo
A container class that provides information about a dragging performed on
a vector element or vector element vertex.
a vector element or vector element vertex.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this object is equal to the specified object.intReturns the drag mode.Returns the drag position in projection coordinate system of the layer.Returns the drag position in screen coordinates.Returns the vector element being dragged.inthashCode()Returns the hash value of this object.
-
Method Details
-
equals
Checks if this object is equal to the specified object. -
hashCode
public int hashCode()Returns the hash value of this object. -
getDragMode
public int getDragMode()Returns the drag mode.- Returns:
- The drag mode.
-
getScreenPos
Returns the drag position in screen coordinates.- Returns:
- The drag position in screen coordinates.
-
getMapPos
Returns the drag position in projection coordinate system of the layer.- Returns:
- The drag position in projection coordinate system of the layer.
-
getVectorElement
Returns the vector element being dragged.- Returns:
- The vector element being dragged.
-