DingiIconAnchor

enum DingiIconAnchor {}

Part of the icon placed closest to the anchor.

Values of this type are used in the DingiSymbolStyleLayer.iconAnchor property.

  • The center of the icon is placed closest to the anchor.

    Declaration

    Objective-C

    DingiIconAnchorCenter

    Swift

    case center = 0
  • The left side of the icon is placed closest to the anchor.

    Declaration

    Objective-C

    DingiIconAnchorLeft

    Swift

    case left = 1
  • The right side of the icon is placed closest to the anchor.

    Declaration

    Objective-C

    DingiIconAnchorRight

    Swift

    case right = 2
  • The top of the icon is placed closest to the anchor.

    Declaration

    Objective-C

    DingiIconAnchorTop

    Swift

    case top = 3
  • The bottom of the icon is placed closest to the anchor.

    Declaration

    Objective-C

    DingiIconAnchorBottom

    Swift

    case bottom = 4
  • The top left corner of the icon is placed closest to the anchor.

    Declaration

    Objective-C

    DingiIconAnchorTopLeft

    Swift

    case topLeft = 5
  • The top right corner of the icon is placed closest to the anchor.

    Declaration

    Objective-C

    DingiIconAnchorTopRight

    Swift

    case topRight = 6
  • The bottom left corner of the icon is placed closest to the anchor.

    Declaration

    Objective-C

    DingiIconAnchorBottomLeft

    Swift

    case bottomLeft = 7
  • The bottom right corner of the icon is placed closest to the anchor.

    Declaration

    Objective-C

    DingiIconAnchorBottomRight

    Swift

    case bottomRight = 8