IconAnchor
public enum IconAnchor : String, Codable, CaseIterable
Part of the icon placed closest to the anchor.
-
The center of the icon is placed closest to the anchor.
Declaration
Swift
case center = "center"
-
The left side of the icon is placed closest to the anchor.
Declaration
Swift
case left = "left"
-
The right side of the icon is placed closest to the anchor.
Declaration
Swift
case right = "right"
-
The top of the icon is placed closest to the anchor.
Declaration
Swift
case top = "top"
-
The bottom of the icon is placed closest to the anchor.
Declaration
Swift
case bottom = "bottom"
-
The top left corner of the icon is placed closest to the anchor.
Declaration
Swift
case topLeft = "top-left"
-
The top right corner of the icon is placed closest to the anchor.
Declaration
Swift
case topRight = "top-right"
-
The bottom left corner of the icon is placed closest to the anchor.
Declaration
Swift
case bottomLeft = "bottom-left"
-
The bottom right corner of the icon is placed closest to the anchor.
Declaration
Swift
case bottomRight = "bottom-right"