MBMViewAnnotationAnchorConfig


@interface MBMViewAnnotationAnchorConfig : NSObject

Represents a specific setting for a view annotation anchor.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)new NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAnchor:(MBMViewAnnotationAnchor)anchor
                                   offsetX:(double)offsetX
                                   offsetY:(double)offsetY NS_REFINED_FOR_SWIFT;
  • Anchor describing where the view annotation will be located relatively to given geometry. The default value is CENTER.

    Declaration

    Objective-C

    @property (nonatomic, readonly) MBMViewAnnotationAnchor anchor;

    Swift

    var anchor: ViewAnnotationAnchor { get }
  • Extra X offset in platform pixels. Providing positive value moves view annotation to the right while negative moves it to the left. The default value is 0.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double offsetX;

    Swift

    var offsetX: Double { get }
  • Extra Y offset in platform pixels. Providing positive value moves view annotation to the top while negative moves it to the bottom. The default value is 0.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double offsetY;

    Swift

    var offsetY: Double { get }
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)isEqualToViewAnnotationAnchorConfig:(nonnull MBMViewAnnotationAnchorConfig *)other;

    Swift

    func isEqual(to other: ViewAnnotationAnchorConfig) -> Bool