MSFVectorElementDragInfo

Objective-C


@interface MSFVectorElementDragInfo : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Swift

class MSFVectorElementDragInfo : NSObject

A container class that provides information about a dragging performed on a vector element or vector element vertex.

  • Checks if this object is equal to the specified object.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id)object;

    Swift

    func isEqual(_ object: Any!) -> Bool

    Parameters

    object

    The reference object.

    Return Value

    True when objects are equal, false otherwise.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (NSUInteger)hash;

    Swift

    func hash() -> UInt

    Return Value

    The hash value of this object.

  • Returns the drag mode.

    Declaration

    Objective-C

    - (enum MSFVectorElementDragMode)getDragMode;

    Swift

    func getDragMode() -> MSFVectorElementDragMode

    Return Value

    The drag mode.

  • Returns the drag position in screen coordinates.

    Declaration

    Objective-C

    - (MSFScreenPos *)getScreenPos;

    Swift

    func getScreenPos() -> MSFScreenPos!

    Return Value

    The drag position in screen coordinates.

  • Returns the drag position in projection coordinate system of the layer.

    Declaration

    Objective-C

    - (MSFMapPos *)getMapPos;

    Swift

    func getMapPos() -> MSFMapPos!

    Return Value

    The drag position in projection coordinate system of the layer.

  • Returns the vector element being dragged.

    Declaration

    Objective-C

    - (MSFVectorElement *)getVectorElement;

    Swift

    func getVectorElement() -> MSFVectorElement!

    Return Value

    The vector element being dragged.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()