SFWConfiguration
public struct SFWConfiguration
Configuration, contains preferences to configure a fortune wheel
-
Spin button preferences
Declaration
Swift
public var spinButtonPreferences: SpinButtonPreferences?
-
Pin (arrow) view preferences
Declaration
Swift
public var pinPreferences: PinImageViewPreferences?
-
Wheel preferences
Declaration
Swift
public var wheelPreferences: WheelPreferences
-
Used to expand the clipping area
-
Initiates a configuration
Declaration
Swift
public init(wheelPreferences: WheelPreferences, pinPreferences: PinImageViewPreferences? = nil, spinButtonPreferences: SpinButtonPreferences? = nil)
Parameters
wheelPreferences
Wheel preferences
pinPreferences
Pin (arrow) view preferences,
optional
spinButtonPreferences
Spin button preferences,
optional
-
Wheel preferences
See moreDeclaration
Swift
struct WheelPreferences
-
Circle preferences
See moreDeclaration
Swift
struct CirclePreferences
-
Slice preferences
See moreDeclaration
Swift
struct SlicePreferences
-
Spin button preferences
See moreDeclaration
Swift
struct SpinButtonPreferences
-
Pin image view preferences
See moreDeclaration
Swift
struct PinImageViewPreferences
-
Position, pin or start position
See moreDeclaration
Swift
enum Position
-
Margins
See moreDeclaration
Swift
struct Margins
-
Color type, used to color the item with the particularized pattern.
See moreevenOddColors
- decorates with a two-color pattern, for odd or even item in the list.customPatternColors
- decorates with specified color for each item on the list.Declaration
Swift
enum ColorType
-
Anchor image used to add images around the wheel for each slice
See moreDeclaration
Swift
struct AnchorImage
-
Content can be drawn by specified mode
See moreDeclaration
Swift
enum ContentMode