IconAnchor

public struct IconAnchor : RawRepresentable, Codable, Hashable

Part of the icon placed closest to the anchor.

  • Declaration

    Swift

    public let rawValue: String
  • Declaration

    Swift

    public init(rawValue: String)
  • The center of the icon is placed closest to the anchor.

    Declaration

    Swift

    public static let center: IconAnchor
  • The left side of the icon is placed closest to the anchor.

    Declaration

    Swift

    public static let left: IconAnchor
  • The right side of the icon is placed closest to the anchor.

    Declaration

    Swift

    public static let right: IconAnchor
  • top

    The top of the icon is placed closest to the anchor.

    Declaration

    Swift

    public static let top: IconAnchor
  • The bottom of the icon is placed closest to the anchor.

    Declaration

    Swift

    public static let bottom: IconAnchor
  • The top left corner of the icon is placed closest to the anchor.

    Declaration

    Swift

    public static let topLeft: IconAnchor
  • The top right corner of the icon is placed closest to the anchor.

    Declaration

    Swift

    public static let topRight: IconAnchor
  • The bottom left corner of the icon is placed closest to the anchor.

    Declaration

    Swift

    public static let bottomLeft: IconAnchor
  • The bottom right corner of the icon is placed closest to the anchor.

    Declaration

    Swift

    public static let bottomRight: IconAnchor