Class VectorElementDragInfo

java.lang.Object
com.massifmaps.ui.VectorElementDragInfo

public class VectorElementDragInfo extends Object
A container class that provides information about a dragging performed on
a vector element or vector element vertex.
  • Method Details

    • equals

      public boolean equals(Object obj)
      Checks if this object is equal to the specified object.
      Overrides:
      equals in class Object
      Parameters:
      obj - The reference object.
      Returns:
      True when objects are equal, false otherwise.
    • hashCode

      public int hashCode()
      Returns the hash value of this object.
      Overrides:
      hashCode in class Object
      Returns:
      The hash value of this object.
    • getDragMode

      public int getDragMode()
      Returns the drag mode.
      Returns:
      The drag mode.
    • getScreenPos

      public ScreenPos getScreenPos()
      Returns the drag position in screen coordinates.
      Returns:
      The drag position in screen coordinates.
    • getMapPos

      public MapPos getMapPos()
      Returns the drag position in projection coordinate system of the layer.
      Returns:
      The drag position in projection coordinate system of the layer.
    • getVectorElement

      public VectorElement getVectorElement()
      Returns the vector element being dragged.
      Returns:
      The vector element being dragged.