TextTranslateAnchor

public struct TextTranslateAnchor : RawRepresentable, Codable, Hashable

Controls the frame of reference for text-translate.

  • Declaration

    Swift

    public let rawValue: String
  • Declaration

    Swift

    public init(rawValue: String)
  • map

    The text is translated relative to the map.

    Declaration

    Swift

    public static let map: TextTranslateAnchor
  • The text is translated relative to the viewport.

    Declaration

    Swift

    public static let viewport: TextTranslateAnchor