ViewAnnotationAnchorConfig

extension ViewAnnotationAnchorConfig
  • Creates an annotation anchor config.

    Parameters:

    • anchor: Anchor direction.
    • offsetX: Horizontal offset. Positive value moves view annotation to the right while negative moves it to the left.
    • offsetY: Vertical offset. Positive value moves view annotation to the top while negative moves it to the bottom.

    Declaration

    Swift

    public convenience init(anchor: ViewAnnotationAnchor, offsetX: CGFloat = 0, offsetY: CGFloat = 0)