AnchorImage
struct AnchorImage
Anchor image used to add images around the wheel for each slice
-
Size, required
Declaration
Swift
public var size: CGSize
-
Image name from assets catalog
Declaration
Swift
public var imageName: String
-
Rotation degree offset, default value is
0
Declaration
Swift
public var rotationDegreeOffset: CGFloat
-
Vertical offset
Declaration
Swift
public var verticalOffset: CGFloat
-
Tint color,
optional
Declaration
Swift
public var tintColor: SFWColor?
-
Initiates a anchor image object
Declaration
Swift
public init(imageName: String, size: CGSize, verticalOffset: CGFloat = 0)
Parameters
imageName
Image name from assets catalog
size
Size, required
verticalOffset
Vertical offset, default value is
0