MBMViewAnnotationAnchor

enum MBMViewAnnotationAnchor : NSInteger {}

Enum describing how to place view annotation relatively to geometry.

  • The top of the view annotation is placed closest to the geometry.

    Declaration

    Objective-C

    MBMViewAnnotationAnchorTop

    Swift

    case top = 0
  • The left side of the view annotation is placed closest to the geometry.

    Declaration

    Objective-C

    MBMViewAnnotationAnchorLeft

    Swift

    case left = 1
  • The bottom of the view annotation is placed closest to the geometry.

    Declaration

    Objective-C

    MBMViewAnnotationAnchorBottom

    Swift

    case bottom = 2
  • The right side of the view annotation is placed closest to the geometry.

    Declaration

    Objective-C

    MBMViewAnnotationAnchorRight

    Swift

    case right = 3
  • The top-left corner of the view annotation is placed closest to the geometry.

    Declaration

    Objective-C

    MBMViewAnnotationAnchorTopLeft

    Swift

    case topLeft = 4
  • The bottom-right corner of the view annotation is placed closest to the geometry.

    Declaration

    Objective-C

    MBMViewAnnotationAnchorBottomRight

    Swift

    case bottomRight = 5
  • The top-right corner of the view annotation is placed closest to the geometry.

    Declaration

    Objective-C

    MBMViewAnnotationAnchorTopRight

    Swift

    case topRight = 6
  • The bottom-left corner of the view annotation is placed closest to the geometry.

    Declaration

    Objective-C

    MBMViewAnnotationAnchorBottomLeft

    Swift

    case bottomLeft = 7
  • The center of the view annotation is placed closest to the geometry.

    Declaration

    Objective-C

    MBMViewAnnotationAnchorCenter

    Swift

    case center = 8