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
0Declaration
Swift
public var rotationDegreeOffset: CGFloat -
Vertical offset
Declaration
Swift
public var verticalOffset: CGFloat -
Tint color,
optionalDeclaration
Swift
public var tintColor: SFWColor? -
Initiates a anchor image object
Declaration
Swift
public init(imageName: String, size: CGSize, verticalOffset: CGFloat = 0)Parameters
imageNameImage name from assets catalog
sizeSize, required
verticalOffsetVertical offset, default value is
0
AnchorImage Structure Reference