diff --git a/Documentation/Changelog.md b/Documentation/Changelog.md index 9ae8de1..2b9ebb7 100644 --- a/Documentation/Changelog.md +++ b/Documentation/Changelog.md @@ -1,5 +1,8 @@ ## CHANGELOG +### 1.1.1 +- [Issue #8](https://github.com/sh-khashimov/SwiftFortuneWheel/issues/8): Added background image for Slice object; + ### 1.1.0 - Added support for **macOS 10.11** and above; diff --git a/README.md b/README.md index c2b250b..10141a7 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,11 @@ The ultimate spinning wheel control that supports dynamic content and rich custo |---|---| | 🏵 | Dynamic content, supports texts, images, and lines | | 🎯 | Adaptive text size with support multiline, alignment and line break mode | +| 🎇 | Supports background Image for each Slice (sector) | | 🧮 | Supports vertical and horizontal text orientation | | 🌈 | Appearance customization | -| 🎨 | Drawn and animated using CoreGraphics, CoreAnimations +| 🔋 | High performance, low memory usage | +| 🎨 | Drawn and animated using CoreGraphics, CoreAnimations | | 🚀 | Written in Swift | ### Layout Preview diff --git a/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift b/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift index b714de6..fa71c22 100644 --- a/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift +++ b/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift @@ -129,6 +129,9 @@ public extension SFWConfiguration { /// Stroke color public var strokeColor: SFWColor + /// Background image content mode + public var backgroundImageContentMode: ContentMode = .scaleAspectFill + /// Initiates a slice preferences /// - Parameters: /// - backgroundColorType: Background color type @@ -359,3 +362,12 @@ public extension SFWConfiguration { } } } + + +public extension SFWConfiguration { + /// Content can be drawn by specified mode + enum ContentMode { + case scaleAspectFill + case bottom + } +} diff --git a/Sources/SwiftFortuneWheel/Extensions/CGRect+AspectFill.swift b/Sources/SwiftFortuneWheel/Extensions/CGRect+AspectFill.swift new file mode 100644 index 0000000..723f596 --- /dev/null +++ b/Sources/SwiftFortuneWheel/Extensions/CGRect+AspectFill.swift @@ -0,0 +1,35 @@ +// +// CGRect+AspectFill.swift +// SwiftFortuneWheel +// +// Created by Sherzod Khashimov on 7/22/20. +// Copyright © 2020 SwiftFortuneWheel. All rights reserved. +// + +import Foundation + +#if os(macOS) +import AppKit +#else +import UIKit +#endif + +extension CGSize { + + static func aspectFill(aspectRatio :CGSize, minimumSize: CGSize) -> CGSize { + + var minimumSize = minimumSize + + let mW = minimumSize.width / aspectRatio.width; + let mH = minimumSize.height / aspectRatio.height; + + if( mH > mW ) { + minimumSize.width = minimumSize.height / aspectRatio.height * aspectRatio.width; + } + else if( mW > mH ) { + minimumSize.height = minimumSize.width / aspectRatio.width * aspectRatio.height; + } + + return minimumSize; + } +} diff --git a/Sources/SwiftFortuneWheel/Models/Slice.swift b/Sources/SwiftFortuneWheel/Models/Slice.swift index 927ef60..717e706 100644 --- a/Sources/SwiftFortuneWheel/Models/Slice.swift +++ b/Sources/SwiftFortuneWheel/Models/Slice.swift @@ -19,16 +19,23 @@ public struct Slice { /// Contents in vertical align order public var contents: [ContentType] + /// Background color, `optional` public var backgroundColor: SFWColor? + /// Background image, `optional` + public var backgroundImage: SFWImage? + /// Initiates a slice object /// - Parameter contents: Contents in vertical align order /// - Parameter backgroundColor: Background color, `optional` + /// - Parameter backgroundImage: Background image, `optional` public init(contents: [ContentType], - backgroundColor: SFWColor? = nil) { + backgroundColor: SFWColor? = nil, + backgroundImage: SFWImage? = nil) { self.contents = contents self.backgroundColor = backgroundColor + self.backgroundImage = backgroundImage } } diff --git a/Sources/SwiftFortuneWheel/Utils/Drawing/SliceDrawing.swift b/Sources/SwiftFortuneWheel/Utils/Drawing/SliceDrawing.swift index 2531edf..097551f 100644 --- a/Sources/SwiftFortuneWheel/Utils/Drawing/SliceDrawing.swift +++ b/Sources/SwiftFortuneWheel/Utils/Drawing/SliceDrawing.swift @@ -59,6 +59,7 @@ extension SliceDrawing { // Draws slice path and background self.drawPath(in: context, backgroundColor: slice.backgroundColor, + backgroundImage: slice.backgroundImage, start: start, and: end, rotation: rotation, @@ -125,7 +126,7 @@ extension SliceDrawing { /// - end: end degree /// - rotation: rotation degree /// - index: index - private func drawPath(in context: CGContext, backgroundColor: SFWColor?, start: CGFloat, and end: CGFloat, rotation:CGFloat, index: Int) { + private func drawPath(in context: CGContext, backgroundColor: SFWColor?, backgroundImage: SFWImage?, start: CGFloat, and end: CGFloat, rotation:CGFloat, index: Int) { context.saveGState() context.rotate(by: (rotation + contextPositionCorrectionOffsetDegree) * CGFloat.pi/180) @@ -155,12 +156,14 @@ extension SliceDrawing { context.addPath(path) context.drawPath(using: .fill) - // let path = UIBezierPath() - // let center = CGPoint(x: 0, y: 0) - // path.move(to: center) - // path.addArc(withCenter: center, radius: radius, startAngle: Calc.torad(start), endAngle: Calc.torad(end), clockwise: true) - // pathBackgroundColor?.setFill() - // path.fill() + if let backgroundImage = backgroundImage { + context.saveGState() + context.addPath(path) + context.clip() + context.rotate(by: -contextPositionCorrectionOffsetDegree * CGFloat.pi/180) + self.draw(backgroundImage: backgroundImage, in: context) + context.restoreGState() + } if rotation != end { let startPoint = CGPoint(x: (radius * (cos((end)*(CGFloat.pi/180)))), y: (radius * (sin((start)*(CGFloat.pi/180))))) @@ -184,6 +187,29 @@ extension SliceDrawing { context.restoreGState() } + /// Draws background image for slice + /// - Parameters: + /// - backgroundImage: Background Image + /// - context: Context + private func draw(backgroundImage: SFWImage, in context: CGContext) { + + let aspectFillSize = CGSize.aspectFill(aspectRatio: backgroundImage.size, minimumSize: CGSize(width: radius, height: circularSegmentHeight)) + + let position = CGPoint(x: -aspectFillSize.width / 2, y: -aspectFillSize.height) + let rectangle = CGRect(x: position.x, y: position.y, width: aspectFillSize.width, height: aspectFillSize.height) + + switch preferences?.slicePreferences.backgroundImageContentMode { + case .some(.bottom): + #if os(macOS) + backgroundImage.draw(at: position, from: NSRect(x: 0, y: 0, width: rectangle.width, height: rectangle.height), operation: .copy, fraction: 1) + #else + backgroundImage.draw(at: position) + #endif + default: + backgroundImage.draw(in: rectangle) + } + } + /// Prepare to draw text /// - Parameters: /// - text: text diff --git a/Sources/SwiftFortuneWheel/macOSPort.swift b/Sources/SwiftFortuneWheel/macOSPort.swift index 9c59d27..a775ed8 100644 --- a/Sources/SwiftFortuneWheel/macOSPort.swift +++ b/Sources/SwiftFortuneWheel/macOSPort.swift @@ -103,6 +103,10 @@ extension NSImage { return image } + + func draw(at position: NSPoint) { + self.draw(at: position, from: NSRect(x: 0, y: 0, width: self.size.width, height: self.size.height), operation: .copy, fraction: 1) + } } #endif diff --git a/SwiftFortuneWheel.xcodeproj/project.pbxproj b/SwiftFortuneWheel.xcodeproj/project.pbxproj index 4136371..d561e9c 100644 --- a/SwiftFortuneWheel.xcodeproj/project.pbxproj +++ b/SwiftFortuneWheel.xcodeproj/project.pbxproj @@ -33,6 +33,7 @@ 2722559924BCA4A400950563 /* NSView+AnchorPoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2722559824BCA4A400950563 /* NSView+AnchorPoint.swift */; }; 2722559B24BCD7F400950563 /* NoClippingLayer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2722559A24BCD7F300950563 /* NoClippingLayer.swift */; }; 277A6EBE249A9B450066C807 /* LinePreferences.swift in Sources */ = {isa = PBXBuildFile; fileRef = 277A6EBD249A9B450066C807 /* LinePreferences.swift */; }; + 277C4C2B24C85D25007580F4 /* CGRect+AspectFill.swift in Sources */ = {isa = PBXBuildFile; fileRef = 277C4C2A24C85D25007580F4 /* CGRect+AspectFill.swift */; }; 2787E56E24A728F900533AD4 /* String+Width.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2787E56D24A728F900533AD4 /* String+Width.swift */; }; 2787E57024A7292F00533AD4 /* String+Lines.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2787E56F24A7292F00533AD4 /* String+Lines.swift */; }; 27F4807924AEE406005886F6 /* TextDrawing.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27F4807824AEE406005886F6 /* TextDrawing.swift */; }; @@ -83,6 +84,7 @@ 2722559A24BCD7F300950563 /* NoClippingLayer.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NoClippingLayer.swift; sourceTree = ""; }; 272B62C524A46FED00F19E41 /* MyPlayground.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = MyPlayground.playground; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.swift; }; 277A6EBD249A9B450066C807 /* LinePreferences.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LinePreferences.swift; sourceTree = ""; }; + 277C4C2A24C85D25007580F4 /* CGRect+AspectFill.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CGRect+AspectFill.swift"; sourceTree = ""; }; 2787E56D24A728F900533AD4 /* String+Width.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+Width.swift"; sourceTree = ""; }; 2787E56F24A7292F00533AD4 /* String+Lines.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+Lines.swift"; sourceTree = ""; }; 27F4807824AEE406005886F6 /* TextDrawing.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextDrawing.swift; sourceTree = ""; }; @@ -202,6 +204,7 @@ 27105668248D4C93006C0181 /* CGRest+AspectFit.swift */, 27105669248D4C93006C0181 /* Array+Default.swift */, 2722559824BCA4A400950563 /* NSView+AnchorPoint.swift */, + 277C4C2A24C85D25007580F4 /* CGRect+AspectFill.swift */, ); path = Extensions; sourceTree = ""; @@ -415,6 +418,7 @@ 277A6EBE249A9B450066C807 /* LinePreferences.swift in Sources */, 27105681248D4C93006C0181 /* SwiftFortuneWheel.swift in Sources */, 27105671248D4C93006C0181 /* ImagePreferences.swift in Sources */, + 277C4C2B24C85D25007580F4 /* CGRect+AspectFill.swift in Sources */, 27105675248D4C93006C0181 /* SpinningAnimatable.swift in Sources */, 27F7D5BF24A5F6B0004BEE19 /* String+Dots.swift in Sources */, 27105684248D4C93006C0181 /* WheelLayer.swift in Sources */, diff --git a/docs/Classes.html b/docs/Classes.html index dca8346..6d9595d 100644 --- a/docs/Classes.html +++ b/docs/Classes.html @@ -14,7 +14,7 @@
-

SwiftFortuneWheel 1.1.0 Docs (80% documented)

+

SwiftFortuneWheel 1.1.0 Docs (79% documented)

@@ -194,6 +194,9 @@ + @@ -508,7 +511,7 @@

Declaration

diff --git a/docs/Classes/NoClippingLayer.html b/docs/Classes/NoClippingLayer.html index 68b6ba5..ce4f720 100644 --- a/docs/Classes/NoClippingLayer.html +++ b/docs/Classes/NoClippingLayer.html @@ -14,7 +14,7 @@
-

SwiftFortuneWheel 1.1.0 Docs (80% documented)

+

SwiftFortuneWheel 1.1.0 Docs (79% documented)

@@ -194,6 +194,9 @@ + @@ -311,7 +314,7 @@

Declaration

diff --git a/docs/Classes/PinImageView.html b/docs/Classes/PinImageView.html index 313d24e..c2a474b 100644 --- a/docs/Classes/PinImageView.html +++ b/docs/Classes/PinImageView.html @@ -14,7 +14,7 @@
-

SwiftFortuneWheel 1.1.0 Docs (80% documented)

+

SwiftFortuneWheel 1.1.0 Docs (79% documented)

@@ -194,6 +194,9 @@ + @@ -422,7 +425,7 @@

Parameters

diff --git a/docs/Classes/SpinButton.html b/docs/Classes/SpinButton.html index f003da2..f4c0412 100644 --- a/docs/Classes/SpinButton.html +++ b/docs/Classes/SpinButton.html @@ -14,7 +14,7 @@
-

SwiftFortuneWheel 1.1.0 Docs (80% documented)

+

SwiftFortuneWheel 1.1.0 Docs (79% documented)

@@ -194,6 +194,9 @@ + @@ -505,7 +508,7 @@

Parameters

diff --git a/docs/Classes/SpinningWheelAnimator.html b/docs/Classes/SpinningWheelAnimator.html index 304af6c..5ee66d2 100644 --- a/docs/Classes/SpinningWheelAnimator.html +++ b/docs/Classes/SpinningWheelAnimator.html @@ -14,7 +14,7 @@
-

SwiftFortuneWheel 1.1.0 Docs (80% documented)

+

SwiftFortuneWheel 1.1.0 Docs (79% documented)

@@ -194,6 +194,9 @@ + @@ -463,9 +466,9 @@

Parameters

  • @@ -480,7 +483,7 @@

    Parameters

    Declaration

    Swift

    -
    func addIndefiniteRotationAnimation(rotationTime: CFTimeInterval = 5.000)
    +
    func addIndefiniteRotationAnimation(rotationTime: CFTimeInterval = 5.000, fullRotationCount: CGFloat = 7000)
    @@ -664,7 +667,7 @@

    Parameters

    diff --git a/docs/Classes/SwiftFortuneWheel.html b/docs/Classes/SwiftFortuneWheel.html index 372c631..3d1b757 100644 --- a/docs/Classes/SwiftFortuneWheel.html +++ b/docs/Classes/SwiftFortuneWheel.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@
  • + @@ -941,9 +944,9 @@

    Parameters

  • @@ -958,10 +961,41 @@

    Parameters

    Declaration

    Swift

    -
    open func startAnimating()
    +
    open func startAnimating(rotationTime: CFTimeInterval = 5.000, fullRotationCountInRotationTime: CGFloat = 7000)
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + rotationTime + + +
    +

    Rotation time is how many seconds needs to rotate all full rotation counts, default value is 5.000

    +
    +
    + + fullRotationCountInRotationTime + + +
    +

    How many rotation should be done for spefied rotation time, default value is 7000

    +
    +
    +
  • @@ -1287,7 +1321,7 @@

    Declaration

    diff --git a/docs/Classes/TTUtils.html b/docs/Classes/TTUtils.html index 5d62c51..5980ae0 100644 --- a/docs/Classes/TTUtils.html +++ b/docs/Classes/TTUtils.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -446,7 +449,7 @@

    Declaration

    diff --git a/docs/Classes/WheelLayer.html b/docs/Classes/WheelLayer.html index 3c8b50d..b40b7c7 100644 --- a/docs/Classes/WheelLayer.html +++ b/docs/Classes/WheelLayer.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -593,7 +596,7 @@

    Parameters

    diff --git a/docs/Classes/WheelView.html b/docs/Classes/WheelView.html index 163dcad..1d795ec 100644 --- a/docs/Classes/WheelView.html +++ b/docs/Classes/WheelView.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -581,7 +584,7 @@

    Declaration

    diff --git a/docs/Extensions.html b/docs/Extensions.html index 973c4fa..11c840e 100644 --- a/docs/Extensions.html +++ b/docs/Extensions.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -622,7 +625,7 @@

    Declaration

    diff --git a/docs/Extensions/Array.html b/docs/Extensions/Array.html index cfae31b..620e31f 100644 --- a/docs/Extensions/Array.html +++ b/docs/Extensions/Array.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -310,7 +313,7 @@

    Declaration

    diff --git a/docs/Extensions/CGRect.html b/docs/Extensions/CGRect.html index bd6db32..2b2c91f 100644 --- a/docs/Extensions/CGRect.html +++ b/docs/Extensions/CGRect.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -295,7 +298,7 @@

    CGRect

    diff --git a/docs/Extensions/CGSize.html b/docs/Extensions/CGSize.html index b14066e..d732d9f 100644 --- a/docs/Extensions/CGSize.html +++ b/docs/Extensions/CGSize.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -278,6 +281,33 @@

    CGSize

      +
    • + +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static func aspectFill(aspectRatio: CGSize, minimumSize: CGSize) -> CGSize
      + +
      +
      +
      +
      +
    • @@ -333,7 +363,7 @@

      Return Value

    diff --git a/docs/Extensions/NSBezierPath.html b/docs/Extensions/NSBezierPath.html index 0ceb6fe..80e8f66 100644 --- a/docs/Extensions/NSBezierPath.html +++ b/docs/Extensions/NSBezierPath.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -313,7 +316,7 @@

    NSBezierPath

    diff --git a/docs/Extensions/NSButton.html b/docs/Extensions/NSButton.html index af1cf5f..95a1e77 100644 --- a/docs/Extensions/NSButton.html +++ b/docs/Extensions/NSButton.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -331,7 +334,7 @@

    NSButton

    diff --git a/docs/Extensions/NSFont.html b/docs/Extensions/NSFont.html index 14706f7..6ed4a9f 100644 --- a/docs/Extensions/NSFont.html +++ b/docs/Extensions/NSFont.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -295,7 +298,7 @@

    NSFont

    diff --git a/docs/Extensions/NSImage.html b/docs/Extensions/NSImage.html index 81a6dfa..001d766 100644 --- a/docs/Extensions/NSImage.html +++ b/docs/Extensions/NSImage.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -295,7 +298,7 @@

    NSImage

    diff --git a/docs/Extensions/NSImageView.html b/docs/Extensions/NSImageView.html index 1cae297..fa80f01 100644 --- a/docs/Extensions/NSImageView.html +++ b/docs/Extensions/NSImageView.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -295,7 +298,7 @@

    NSImageView

    diff --git a/docs/Extensions/NSScreen.html b/docs/Extensions/NSScreen.html index c6ed1c2..ff40e3b 100644 --- a/docs/Extensions/NSScreen.html +++ b/docs/Extensions/NSScreen.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -295,7 +298,7 @@

    NSScreen

    diff --git a/docs/Extensions/NSView.html b/docs/Extensions/NSView.html index da76d9e..d47c266 100644 --- a/docs/Extensions/NSView.html +++ b/docs/Extensions/NSView.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -331,7 +334,7 @@

    NSView

    diff --git a/docs/Extensions/SFWColor.html b/docs/Extensions/SFWColor.html index b46772e..c066704 100644 --- a/docs/Extensions/SFWColor.html +++ b/docs/Extensions/SFWColor.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -311,7 +314,7 @@

    Declaration

    diff --git a/docs/Extensions/SFWFont.html b/docs/Extensions/SFWFont.html index 88ff3a0..2d430a4 100644 --- a/docs/Extensions/SFWFont.html +++ b/docs/Extensions/SFWFont.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -420,7 +423,7 @@

    Return Value

    diff --git a/docs/Extensions/SFWImage.html b/docs/Extensions/SFWImage.html index bb2f66f..5e80e79 100644 --- a/docs/Extensions/SFWImage.html +++ b/docs/Extensions/SFWImage.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -334,7 +337,7 @@

    Return Value

    diff --git a/docs/Extensions/String.html b/docs/Extensions/String.html index 5d5c031..5a63d65 100644 --- a/docs/Extensions/String.html +++ b/docs/Extensions/String.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -589,7 +592,7 @@

    Return Value

    diff --git a/docs/Extensions/UIView.html b/docs/Extensions/UIView.html index 0264dea..99104ad 100644 --- a/docs/Extensions/UIView.html +++ b/docs/Extensions/UIView.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -310,7 +313,7 @@

    Declaration

    diff --git a/docs/Functions.html b/docs/Functions.html index 6b7856f..f296e26 100644 --- a/docs/Functions.html +++ b/docs/Functions.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -332,7 +335,7 @@

    Functions

    diff --git a/docs/Protocols.html b/docs/Protocols.html index 9a0db89..e1cfde1 100644 --- a/docs/Protocols.html +++ b/docs/Protocols.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -530,7 +533,7 @@

    Declaration

    diff --git a/docs/Protocols/CurveTextDrawing.html b/docs/Protocols/CurveTextDrawing.html index dc8fbdd..871b2ba 100644 --- a/docs/Protocols/CurveTextDrawing.html +++ b/docs/Protocols/CurveTextDrawing.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -374,7 +377,7 @@

    Declaration

    diff --git a/docs/Protocols/ImageDrawing.html b/docs/Protocols/ImageDrawing.html index 713d3d8..b12185e 100644 --- a/docs/Protocols/ImageDrawing.html +++ b/docs/Protocols/ImageDrawing.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -538,7 +541,7 @@

    Parameters

    diff --git a/docs/Protocols/ShapeDrawing.html b/docs/Protocols/ShapeDrawing.html index f3b0257..b8d961c 100644 --- a/docs/Protocols/ShapeDrawing.html +++ b/docs/Protocols/ShapeDrawing.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -514,7 +517,7 @@

    Parameters

    diff --git a/docs/Protocols/SliceCalculating.html b/docs/Protocols/SliceCalculating.html index d8d27da..dec81aa 100644 --- a/docs/Protocols/SliceCalculating.html +++ b/docs/Protocols/SliceCalculating.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -477,7 +480,7 @@

    Return Value

    diff --git a/docs/Protocols/SliceDrawing.html b/docs/Protocols/SliceDrawing.html index db99e55..6bab418 100644 --- a/docs/Protocols/SliceDrawing.html +++ b/docs/Protocols/SliceDrawing.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -596,7 +599,7 @@

    Return Value

    diff --git a/docs/Protocols/SpinningAnimatable.html b/docs/Protocols/SpinningAnimatable.html index 7ed4253..230b55c 100644 --- a/docs/Protocols/SpinningAnimatable.html +++ b/docs/Protocols/SpinningAnimatable.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -412,7 +415,7 @@

    Declaration

    diff --git a/docs/Protocols/SpinningAnimatorProtocol.html b/docs/Protocols/SpinningAnimatorProtocol.html index 02c4894..72786cd 100644 --- a/docs/Protocols/SpinningAnimatorProtocol.html +++ b/docs/Protocols/SpinningAnimatorProtocol.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -311,7 +314,7 @@

    Declaration

    diff --git a/docs/Protocols/TextDrawing.html b/docs/Protocols/TextDrawing.html index eed928b..45deb28 100644 --- a/docs/Protocols/TextDrawing.html +++ b/docs/Protocols/TextDrawing.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -743,7 +746,7 @@

    Return Value

    diff --git a/docs/Protocols/WheelMathCalculating.html b/docs/Protocols/WheelMathCalculating.html index 6f5ad22..333b249 100644 --- a/docs/Protocols/WheelMathCalculating.html +++ b/docs/Protocols/WheelMathCalculating.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -508,7 +511,7 @@

    Declaration

    diff --git a/docs/Structs.html b/docs/Structs.html index b4ada1e..2cfcd4b 100644 --- a/docs/Structs.html +++ b/docs/Structs.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -446,7 +449,7 @@

    Declaration

    diff --git a/docs/Structs/Calc.html b/docs/Structs/Calc.html index 2b5ecd1..754a254 100644 --- a/docs/Structs/Calc.html +++ b/docs/Structs/Calc.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -485,7 +488,7 @@

    Return Value

    diff --git a/docs/Structs/ImagePreferences.html b/docs/Structs/ImagePreferences.html index 8dc78aa..c82d4e5 100644 --- a/docs/Structs/ImagePreferences.html +++ b/docs/Structs/ImagePreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -505,7 +508,7 @@

    Parameters

    diff --git a/docs/Structs/LinePreferences.html b/docs/Structs/LinePreferences.html index 651e564..4271a8f 100644 --- a/docs/Structs/LinePreferences.html +++ b/docs/Structs/LinePreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -464,7 +467,7 @@

    Declaration

    diff --git a/docs/Structs/SFWConfiguration.html b/docs/Structs/SFWConfiguration.html index 5b75efd..5d4a6e7 100644 --- a/docs/Structs/SFWConfiguration.html +++ b/docs/Structs/SFWConfiguration.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -705,12 +708,40 @@

    Declaration

    +
  • +
    + + + + ContentMode + +
    +
    +
    +
    +
    +
    +

    Content can be drawn by specified mode

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    enum ContentMode
    + +
    +
    +
    +
    +
  • diff --git a/docs/Structs/SFWConfiguration/AnchorImage.html b/docs/Structs/SFWConfiguration/AnchorImage.html index d1a2e0b..77f82d8 100644 --- a/docs/Structs/SFWConfiguration/AnchorImage.html +++ b/docs/Structs/SFWConfiguration/AnchorImage.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -491,7 +494,7 @@

    Parameters

    diff --git a/docs/Structs/SFWConfiguration/CirclePreferences.html b/docs/Structs/SFWConfiguration/CirclePreferences.html index 0519cfd..7fb90eb 100644 --- a/docs/Structs/SFWConfiguration/CirclePreferences.html +++ b/docs/Structs/SFWConfiguration/CirclePreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -397,7 +400,7 @@

    Parameters

    diff --git a/docs/Structs/SFWConfiguration/ColorType.html b/docs/Structs/SFWConfiguration/ColorType.html index 7175fb8..c4d4df5 100644 --- a/docs/Structs/SFWConfiguration/ColorType.html +++ b/docs/Structs/SFWConfiguration/ColorType.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -340,7 +343,7 @@

    Declaration

    diff --git a/docs/Structs/SFWConfiguration/ContentMode.html b/docs/Structs/SFWConfiguration/ContentMode.html new file mode 100644 index 0000000..e2d3b9a --- /dev/null +++ b/docs/Structs/SFWConfiguration/ContentMode.html @@ -0,0 +1,351 @@ + + + + ContentMode Enumeration Reference + + + + + + + + + + +
    +
    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    +
    +
    +
    + +
    +
    + +
    +
    +
    +

    ContentMode

    +
    +
    +
    enum ContentMode
    + +
    +
    +

    Content can be drawn by specified mode

    + +
    +
    +
    +
      +
    • +
      + + + + scaleAspectFill + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      case scaleAspectFill
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + bottom + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      case bottom
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + +
    + diff --git a/docs/Structs/SFWConfiguration/Margins.html b/docs/Structs/SFWConfiguration/Margins.html index e14a68f..f770688 100644 --- a/docs/Structs/SFWConfiguration/Margins.html +++ b/docs/Structs/SFWConfiguration/Margins.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -505,7 +508,7 @@

    Parameters

    diff --git a/docs/Structs/SFWConfiguration/PinImageViewPreferences.html b/docs/Structs/SFWConfiguration/PinImageViewPreferences.html index 455e892..58046ac 100644 --- a/docs/Structs/SFWConfiguration/PinImageViewPreferences.html +++ b/docs/Structs/SFWConfiguration/PinImageViewPreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -531,7 +534,7 @@

    Parameters

    diff --git a/docs/Structs/SFWConfiguration/Position.html b/docs/Structs/SFWConfiguration/Position.html index aaf09c9..ef024a5 100644 --- a/docs/Structs/SFWConfiguration/Position.html +++ b/docs/Structs/SFWConfiguration/Position.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -420,7 +423,7 @@

    Declaration

    diff --git a/docs/Structs/SFWConfiguration/SlicePreferences.html b/docs/Structs/SFWConfiguration/SlicePreferences.html index 4c21d2f..4d50d61 100644 --- a/docs/Structs/SFWConfiguration/SlicePreferences.html +++ b/docs/Structs/SFWConfiguration/SlicePreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -360,6 +363,33 @@

    Declaration

    +
  • + +
    +
    +
    +
    +
    +

    Background image content mode

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var backgroundImageContentMode: ContentMode
    + +
    +
    +
    +
    +
  • @@ -437,7 +467,7 @@

    Parameters

    diff --git a/docs/Structs/SFWConfiguration/SpinButtonPreferences.html b/docs/Structs/SFWConfiguration/SpinButtonPreferences.html index c4f9b6a..1c6cf2d 100644 --- a/docs/Structs/SFWConfiguration/SpinButtonPreferences.html +++ b/docs/Structs/SFWConfiguration/SpinButtonPreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@
  • + @@ -676,7 +679,7 @@

    Return Value

    diff --git a/docs/Structs/SFWConfiguration/WheelPreferences.html b/docs/Structs/SFWConfiguration/WheelPreferences.html index 089bdb9..8ca95a8 100644 --- a/docs/Structs/SFWConfiguration/WheelPreferences.html +++ b/docs/Structs/SFWConfiguration/WheelPreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -573,7 +576,7 @@

    Parameters

    diff --git a/docs/Structs/Slice.html b/docs/Structs/Slice.html index e433d39..e86ab06 100644 --- a/docs/Structs/Slice.html +++ b/docs/Structs/Slice.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -336,9 +339,36 @@

    Declaration

  • +
    +
    +
    +
    +
    +

    Background image, optional

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var backgroundImage: SFWImage?
    + +
    +
    +
    +
    +
  • +
  • +
    @@ -354,7 +384,8 @@

    Declaration

    Swift

    public init(contents: [ContentType],
    -            backgroundColor: SFWColor? = nil)
    + backgroundColor: SFWColor? = nil, + backgroundImage: SFWImage? = nil)
    @@ -386,6 +417,18 @@

    Parameters

  • + + + + backgroundImage + + + +
    +

    Background image, optional

    +
    + +
    @@ -425,7 +468,7 @@

    Declaration

    diff --git a/docs/Structs/Slice/ContentType.html b/docs/Structs/Slice/ContentType.html index 63e962a..385adfe 100644 --- a/docs/Structs/Slice/ContentType.html +++ b/docs/Structs/Slice/ContentType.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -392,7 +395,7 @@

    Declaration

    diff --git a/docs/Structs/TextPreferences.html b/docs/Structs/TextPreferences.html index 62f294e..9631905 100644 --- a/docs/Structs/TextPreferences.html +++ b/docs/Structs/TextPreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -809,7 +812,7 @@

    Return Value

    diff --git a/docs/Structs/TextPreferences/LineBreakMode.html b/docs/Structs/TextPreferences/LineBreakMode.html index 0eccb19..b730300 100644 --- a/docs/Structs/TextPreferences/LineBreakMode.html +++ b/docs/Structs/TextPreferences/LineBreakMode.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -392,7 +395,7 @@

    Declaration

    diff --git a/docs/Structs/TextPreferences/Orientation.html b/docs/Structs/TextPreferences/Orientation.html index ca2a530..f2dc10b 100644 --- a/docs/Structs/TextPreferences/Orientation.html +++ b/docs/Structs/TextPreferences/Orientation.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -338,7 +341,7 @@

    Declaration

    diff --git a/docs/Typealiases.html b/docs/Typealiases.html index b5a6abc..5b54a24 100644 --- a/docs/Typealiases.html +++ b/docs/Typealiases.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -593,7 +596,7 @@

    Declaration

    diff --git a/docs/badge.svg b/docs/badge.svg index cc8a683..229251a 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -19,10 +19,10 @@ documentation - 80% + 79% - 80% + 79% diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes.html index dca8346..6d9595d 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -508,7 +511,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/NoClippingLayer.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/NoClippingLayer.html index 68b6ba5..ce4f720 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/NoClippingLayer.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/NoClippingLayer.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -311,7 +314,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/PinImageView.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/PinImageView.html index 313d24e..c2a474b 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/PinImageView.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/PinImageView.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -422,7 +425,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SpinButton.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SpinButton.html index f003da2..f4c0412 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SpinButton.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SpinButton.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -505,7 +508,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SpinningWheelAnimator.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SpinningWheelAnimator.html index 304af6c..5ee66d2 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SpinningWheelAnimator.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SpinningWheelAnimator.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -463,9 +466,9 @@

    Parameters

  • @@ -480,7 +483,7 @@

    Parameters

    Declaration

    Swift

    -
    func addIndefiniteRotationAnimation(rotationTime: CFTimeInterval = 5.000)
    +
    func addIndefiniteRotationAnimation(rotationTime: CFTimeInterval = 5.000, fullRotationCount: CGFloat = 7000)
    @@ -664,7 +667,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SwiftFortuneWheel.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SwiftFortuneWheel.html index 372c631..3d1b757 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SwiftFortuneWheel.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/SwiftFortuneWheel.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@
  • + @@ -941,9 +944,9 @@

    Parameters

  • @@ -958,10 +961,41 @@

    Parameters

    Declaration

    Swift

    -
    open func startAnimating()
    +
    open func startAnimating(rotationTime: CFTimeInterval = 5.000, fullRotationCountInRotationTime: CGFloat = 7000)
    +
    +

    Parameters

    + + + + + + + + + + + +
    + + rotationTime + + +
    +

    Rotation time is how many seconds needs to rotate all full rotation counts, default value is 5.000

    +
    +
    + + fullRotationCountInRotationTime + + +
    +

    How many rotation should be done for spefied rotation time, default value is 7000

    +
    +
    +
  • @@ -1287,7 +1321,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/TTUtils.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/TTUtils.html index 5d62c51..5980ae0 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/TTUtils.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/TTUtils.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -446,7 +449,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/WheelLayer.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/WheelLayer.html index 3c8b50d..b40b7c7 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/WheelLayer.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/WheelLayer.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -593,7 +596,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/WheelView.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/WheelView.html index 163dcad..1d795ec 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/WheelView.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Classes/WheelView.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -581,7 +584,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions.html index 973c4fa..11c840e 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -622,7 +625,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/Array.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/Array.html index cfae31b..620e31f 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/Array.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/Array.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -310,7 +313,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/CGRect.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/CGRect.html index bd6db32..2b2c91f 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/CGRect.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/CGRect.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -295,7 +298,7 @@

    CGRect

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/CGSize.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/CGSize.html index b14066e..d732d9f 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/CGSize.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/CGSize.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -278,6 +281,33 @@

    CGSize

      +
    • + +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      static func aspectFill(aspectRatio: CGSize, minimumSize: CGSize) -> CGSize
      + +
      +
      +
      +
      +
    • @@ -333,7 +363,7 @@

      Return Value

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSBezierPath.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSBezierPath.html index 0ceb6fe..80e8f66 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSBezierPath.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSBezierPath.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -313,7 +316,7 @@

    NSBezierPath

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSButton.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSButton.html index af1cf5f..95a1e77 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSButton.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSButton.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -331,7 +334,7 @@

    NSButton

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSFont.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSFont.html index 14706f7..6ed4a9f 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSFont.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSFont.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -295,7 +298,7 @@

    NSFont

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSImage.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSImage.html index 81a6dfa..001d766 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSImage.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSImage.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -295,7 +298,7 @@

    NSImage

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSImageView.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSImageView.html index 1cae297..fa80f01 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSImageView.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSImageView.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -295,7 +298,7 @@

    NSImageView

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSScreen.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSScreen.html index c6ed1c2..ff40e3b 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSScreen.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSScreen.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -295,7 +298,7 @@

    NSScreen

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSView.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSView.html index da76d9e..d47c266 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSView.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/NSView.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -331,7 +334,7 @@

    NSView

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWColor.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWColor.html index b46772e..c066704 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWColor.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWColor.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -311,7 +314,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWFont.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWFont.html index 88ff3a0..2d430a4 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWFont.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWFont.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -420,7 +423,7 @@

    Return Value

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWImage.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWImage.html index bb2f66f..5e80e79 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWImage.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/SFWImage.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -334,7 +337,7 @@

    Return Value

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/String.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/String.html index 5d5c031..5a63d65 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/String.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/String.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -589,7 +592,7 @@

    Return Value

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/UIView.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/UIView.html index 0264dea..99104ad 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/UIView.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Extensions/UIView.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -310,7 +313,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Functions.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Functions.html index 6b7856f..f296e26 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Functions.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Functions.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -332,7 +335,7 @@

    Functions

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols.html index 9a0db89..e1cfde1 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -530,7 +533,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/CurveTextDrawing.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/CurveTextDrawing.html index dc8fbdd..871b2ba 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/CurveTextDrawing.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/CurveTextDrawing.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -374,7 +377,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/ImageDrawing.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/ImageDrawing.html index 713d3d8..b12185e 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/ImageDrawing.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/ImageDrawing.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -538,7 +541,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/ShapeDrawing.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/ShapeDrawing.html index f3b0257..b8d961c 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/ShapeDrawing.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/ShapeDrawing.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -514,7 +517,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SliceCalculating.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SliceCalculating.html index d8d27da..dec81aa 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SliceCalculating.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SliceCalculating.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -477,7 +480,7 @@

    Return Value

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SliceDrawing.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SliceDrawing.html index db99e55..6bab418 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SliceDrawing.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SliceDrawing.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -596,7 +599,7 @@

    Return Value

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SpinningAnimatable.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SpinningAnimatable.html index 7ed4253..230b55c 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SpinningAnimatable.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SpinningAnimatable.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -412,7 +415,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SpinningAnimatorProtocol.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SpinningAnimatorProtocol.html index 02c4894..72786cd 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SpinningAnimatorProtocol.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/SpinningAnimatorProtocol.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -311,7 +314,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/TextDrawing.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/TextDrawing.html index eed928b..45deb28 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/TextDrawing.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/TextDrawing.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -743,7 +746,7 @@

    Return Value

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/WheelMathCalculating.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/WheelMathCalculating.html index 6f5ad22..333b249 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/WheelMathCalculating.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Protocols/WheelMathCalculating.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -508,7 +511,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs.html index b4ada1e..2cfcd4b 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -446,7 +449,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Calc.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Calc.html index 2b5ecd1..754a254 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Calc.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Calc.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -485,7 +488,7 @@

    Return Value

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/ImagePreferences.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/ImagePreferences.html index 8dc78aa..c82d4e5 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/ImagePreferences.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/ImagePreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -505,7 +508,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/LinePreferences.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/LinePreferences.html index 651e564..4271a8f 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/LinePreferences.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/LinePreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -464,7 +467,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration.html index 5b75efd..5d4a6e7 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -705,12 +708,40 @@

    Declaration

    +
  • +
    + + + + ContentMode + +
    +
    +
    +
    +
    +
    +

    Content can be drawn by specified mode

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    enum ContentMode
    + +
    +
    +
    +
    +
  • diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/AnchorImage.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/AnchorImage.html index d1a2e0b..77f82d8 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/AnchorImage.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/AnchorImage.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -491,7 +494,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/CirclePreferences.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/CirclePreferences.html index 0519cfd..7fb90eb 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/CirclePreferences.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/CirclePreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -397,7 +400,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/ColorType.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/ColorType.html index 7175fb8..c4d4df5 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/ColorType.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/ColorType.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -340,7 +343,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/ContentMode.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/ContentMode.html new file mode 100644 index 0000000..e2d3b9a --- /dev/null +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/ContentMode.html @@ -0,0 +1,351 @@ + + + + ContentMode Enumeration Reference + + + + + + + + + + +
    +
    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    +
    +
    +
    + +
    +
    + +
    +
    +
    +

    ContentMode

    +
    +
    +
    enum ContentMode
    + +
    +
    +

    Content can be drawn by specified mode

    + +
    +
    +
    +
      +
    • +
      + + + + scaleAspectFill + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      case scaleAspectFill
      + +
      +
      +
      +
      +
    • +
    • +
      + + + + bottom + +
      +
      +
      +
      +
      +
      +

      Undocumented

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      case bottom
      + +
      +
      +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + +
    + diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/Margins.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/Margins.html index e14a68f..f770688 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/Margins.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/Margins.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -505,7 +508,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/PinImageViewPreferences.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/PinImageViewPreferences.html index 455e892..58046ac 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/PinImageViewPreferences.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/PinImageViewPreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -531,7 +534,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/Position.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/Position.html index aaf09c9..ef024a5 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/Position.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/Position.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -420,7 +423,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/SlicePreferences.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/SlicePreferences.html index 4c21d2f..4d50d61 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/SlicePreferences.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/SlicePreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -360,6 +363,33 @@

    Declaration

    +
  • + +
    +
    +
    +
    +
    +

    Background image content mode

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var backgroundImageContentMode: ContentMode
    + +
    +
    +
    +
    +
  • @@ -437,7 +467,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/SpinButtonPreferences.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/SpinButtonPreferences.html index c4f9b6a..1c6cf2d 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/SpinButtonPreferences.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/SpinButtonPreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@
  • + @@ -676,7 +679,7 @@

    Return Value

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/WheelPreferences.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/WheelPreferences.html index 089bdb9..8ca95a8 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/WheelPreferences.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/SFWConfiguration/WheelPreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -573,7 +576,7 @@

    Parameters

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Slice.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Slice.html index e433d39..e86ab06 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Slice.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Slice.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -336,9 +339,36 @@

    Declaration

  • +
    +
    +
    +
    +
    +

    Background image, optional

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public var backgroundImage: SFWImage?
    + +
    +
    +
    +
    +
  • +
  • +
    @@ -354,7 +384,8 @@

    Declaration

    Swift

    public init(contents: [ContentType],
    -            backgroundColor: SFWColor? = nil)
    + backgroundColor: SFWColor? = nil, + backgroundImage: SFWImage? = nil)
    @@ -386,6 +417,18 @@

    Parameters

  • + + + + backgroundImage + + + +
    +

    Background image, optional

    +
    + +
    @@ -425,7 +468,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Slice/ContentType.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Slice/ContentType.html index 63e962a..385adfe 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Slice/ContentType.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/Slice/ContentType.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -392,7 +395,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences.html index 62f294e..9631905 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -809,7 +812,7 @@

    Return Value

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences/LineBreakMode.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences/LineBreakMode.html index 0eccb19..b730300 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences/LineBreakMode.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences/LineBreakMode.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -392,7 +395,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences/Orientation.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences/Orientation.html index ca2a530..f2dc10b 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences/Orientation.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Structs/TextPreferences/Orientation.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -338,7 +341,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Typealiases.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Typealiases.html index b5a6abc..5b54a24 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Typealiases.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/Typealiases.html @@ -14,7 +14,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -194,6 +194,9 @@ + @@ -593,7 +596,7 @@

    Declaration

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/badge.svg b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/badge.svg index c8d6b74..cc8a683 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/badge.svg +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/badge.svg @@ -19,10 +19,10 @@ documentation - 84% + 80% - 84% + 80% diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/index.html b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/index.html index ae57e31..1c56b72 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/index.html +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/index.html @@ -13,7 +13,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -193,6 +193,9 @@ + @@ -291,6 +294,10 @@ Adaptive text size with support multiline, alignment and line break mode + +Supports background Image for each Slice (sector) + + 🧮 Supports vertical and horizontal text orientation @@ -300,7 +307,11 @@ 🎨 -Drawn and animated using CoreGraphics +High performance, low memory usage + + +🎨 +Drawn and animated using CoreGraphics, CoreAnimations 🚀 @@ -323,22 +334,46 @@

    Dynamic Content an

    Taken from example projects

    -

    Getting Started

    +

    Screenshots

    + +
    + from iOS Example Project + +
    + +
    + +
    + from macOS Example Project + +
    + +
    + +
    + from tvOS Example Project + +
    + +
    +

    Documentation

    -

    Installation

    When you are ready to install, follow the Installation Guide.

    -

    Documentation

    +

    API Documentation

    + +

    You can find the docs here.

    -

    You can find the docs here. Documentation is generated with jazzy and hosted on GitHub-Pages.

    +

    Documentation is generated with jazzy and hosted on GitHub-Pages.

    Requirements

    @@ -372,7 +407,7 @@

    Contributing

    Migration

    Changelog

    @@ -388,7 +423,7 @@

    License

    diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/search.json b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/search.json index 765c69c..c4fed22 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/search.json +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/search.json @@ -1 +1 @@ -{"Typealiases.html#/s:17SwiftFortuneWheel8SFWColora":{"name":"SFWColor","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel7SFWFonta":{"name":"SFWFont","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel8SFWImagea":{"name":"SFWImage","abstract":"

    Undocumented

    "},"Typealiases.html#/UIView":{"name":"UIView"},"Typealiases.html#/UIImageView":{"name":"UIImageView"},"Typealiases.html#/UIButton":{"name":"UIButton"},"Typealiases.html#/UIBezierPath":{"name":"UIBezierPath"},"Typealiases.html#/UIScreen":{"name":"UIScreen"},"Typealiases.html#/SFWControl":{"name":"SFWControl"},"Typealiases.html#/SFWColor":{"name":"SFWColor"},"Typealiases.html#/SFWImage":{"name":"SFWImage"},"Typealiases.html#/SFWFont":{"name":"SFWFont"},"Typealiases.html#/SFWEdgeInsets":{"name":"SFWEdgeInsets"},"Typealiases.html#/s:17SwiftFortuneWheel10SFWControla":{"name":"SFWControl","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel13SFWEdgeInsetsa":{"name":"SFWEdgeInsets","abstract":"

    Undocumented

    "},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV12flipRotation12CoreGraphics7CGFloatVvpZ":{"name":"flipRotation","abstract":"

    Flip rotation

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV5torady12CoreGraphics7CGFloatVAGFZ":{"name":"torad(_:)","abstract":"

    to rad.

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV21circularSegmentHeight6radius4from12CoreGraphics7CGFloatVAI_AItFZ":{"name":"circularSegmentHeight(radius:from:)","abstract":"

    Circular segment height for radius and degree

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV6radius21circularSegmentHeight4from12CoreGraphics7CGFloatVAI_AItFZ":{"name":"radius(circularSegmentHeight:from:)","abstract":"

    Radius calculation

    ","parent_name":"Calc"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO10assetImageyAESS_AA0H11PreferencesVtcAEmF":{"name":"assetImage(name:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO5imageyAESo7UIImageC_AA16ImagePreferencesVtcAEmF":{"name":"image(image:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO4textyAESS_AA15TextPreferencesVtcAEmF":{"name":"text(text:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO4lineyAeA15LinePreferencesV_tcAEmF":{"name":"line(preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV8contentsSayAC11ContentTypeOGvp":{"name":"contents","abstract":"

    Contents in vertical align order

    ","parent_name":"Slice"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV15backgroundColorSo7UIColorCSgvp":{"name":"backgroundColor","abstract":"

    Background color, optional

    ","parent_name":"Slice"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV8contents15backgroundColorACSayAC11ContentTypeOG_So7UIColorCSgtcfc":{"name":"init(contents:backgroundColor:)","abstract":"

    Initiates a slice object

    ","parent_name":"Slice"},"Structs/Slice/ContentType.html":{"name":"ContentType","abstract":"

    Slice content type, currently image or text

    ","parent_name":"Slice"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO4clipyA2EmF":{"name":"clip","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO12truncateTailyA2EmF":{"name":"truncateTail","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO8wordWrapyA2EmF":{"name":"wordWrap","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO06systemfgH0So06NSLinegH0Vvp":{"name":"systemLineBreakMode","abstract":"

    NSLineBreakMode

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/Orientation.html#/s:17SwiftFortuneWheel15TextPreferencesV11OrientationO10horizontalyA2EmF":{"name":"horizontal","abstract":"

    Undocumented

    ","parent_name":"Orientation"},"Structs/TextPreferences/Orientation.html#/s:17SwiftFortuneWheel15TextPreferencesV11OrientationO8verticalyA2EmF":{"name":"vertical","abstract":"

    Undocumented

    ","parent_name":"Orientation"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV4fontSo6UIFontCvp":{"name":"font","abstract":"

    Text font

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13textColorTypeAA16SFWConfigurationV0gH0Ovp":{"name":"textColorType","abstract":"

    Text color type

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset in slice from the center, default value is 0

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14flipUpsideDownSbvp":{"name":"flipUpsideDown","abstract":"

    Flip the text upside down, default value is true

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV8isCurvedSbvp":{"name":"isCurved","abstract":"

    Is text curved or not, works only with orientation equal to horizontal, default value is true

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV11orientationAC11OrientationOvp":{"name":"orientation","abstract":"

    Text orientation, default value is .horizontal

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13lineBreakModeAC04LinegH0Ovp":{"name":"lineBreakMode","abstract":"

    The technique to use for wrapping and truncating the label’s text, default value is .clip

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13numberOfLinesSivp":{"name":"numberOfLines","abstract":"

    The maximum number of lines to use for rendering text., default valie is 1

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV7spacing12CoreGraphics7CGFloatVvp":{"name":"spacing","abstract":"

    Spacing between lines, default value is 3

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV9alignmentSo15NSTextAlignmentVvp":{"name":"alignment","abstract":"

    The technique to use for aligning the text, default value is .left

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13textColorType4font14verticalOffsetAcA16SFWConfigurationV0gH0O_So6UIFontC12CoreGraphics7CGFloatVtcfc":{"name":"init(textColorType:font:verticalOffset:)","abstract":"

    Initiates a text preferences

    ","parent_name":"TextPreferences"},"Structs/TextPreferences/Orientation.html":{"name":"Orientation","abstract":"

    Text orientation, horizontal or vertical

    ","parent_name":"TextPreferences"},"Structs/TextPreferences/LineBreakMode.html":{"name":"LineBreakMode","abstract":"

    The technique to use for wrapping and truncating the label’s text

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV5color3forSo7UIColorCSi_tF":{"name":"color(for:)","abstract":"

    Creates a color for text, relative to slice index position

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14textAttributes3forSDySo21NSAttributedStringKeyaypGSi_tF":{"name":"textAttributes(for:)","abstract":"

    Creates text attributes, relative to slice index position

    ","parent_name":"TextPreferences"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size, required

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9imageNameSSvp":{"name":"imageName","abstract":"

    Image name from assets catalog

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV20rotationDegreeOffset12CoreGraphics7CGFloatVvp":{"name":"rotationDegreeOffset","abstract":"

    Rotation degree offset, default value is 0

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9imageName4size14verticalOffsetAESS_So6CGSizeV12CoreGraphics7CGFloatVtcfc":{"name":"init(imageName:size:verticalOffset:)","abstract":"

    Initiates a anchor image object

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/ColorType.html#/s:17SwiftFortuneWheel16SFWConfigurationV9ColorTypeO13evenOddColorsyAESo7UIColorC_AHtcAEmF":{"name":"evenOddColors(evenColor:oddColor:)","abstract":"

    Undocumented

    ","parent_name":"ColorType"},"Structs/SFWConfiguration/ColorType.html#/s:17SwiftFortuneWheel16SFWConfigurationV9ColorTypeO19customPatternColorsyAESaySo7UIColorCGSg_AHtcAEmF":{"name":"customPatternColors(colors:defaultColor:)","abstract":"

    Undocumented

    ","parent_name":"ColorType"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV4left12CoreGraphics7CGFloatVvp":{"name":"left","abstract":"

    Left margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV5right12CoreGraphics7CGFloatVvp":{"name":"right","abstract":"

    Right margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV3top12CoreGraphics7CGFloatVvp":{"name":"top","abstract":"

    Top margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV6bottom12CoreGraphics7CGFloatVvp":{"name":"bottom","abstract":"

    Bottom margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsVAEycfc":{"name":"init()","abstract":"

    Initiates a margins with default values:","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV3top4left5right6bottomAE12CoreGraphics7CGFloatV_A3Ltcfc":{"name":"init(top:left:right:bottom:)","abstract":"

    Initiates a margins

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO3topyA2EmF":{"name":"top","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO6bottomyA2EmF":{"name":"bottom","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO4leftyA2EmF":{"name":"left","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO5rightyA2EmF":{"name":"right","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO16startAngleOffset12CoreGraphics7CGFloatVvp":{"name":"startAngleOffset","abstract":"

    Start position angle offset in degree.","parent_name":"Position"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV8positionAC8PositionOvp":{"name":"position","abstract":"

    Position

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV15backgroundColorSo7UIColorCvp":{"name":"backgroundColor","abstract":"

    Background color, default value is .clear

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV4size8position16horizontalOffset08verticalL0AESo6CGSizeV_AC8PositionO12CoreGraphics7CGFloatVAPtcfc":{"name":"init(size:position:horizontalOffset:verticalOffset:)","abstract":"

    Initiates a pin image view preferences

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV12cornerRadius12CoreGraphics7CGFloatVvp":{"name":"cornerRadius","abstract":"

    Corner radius, default value is 0

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV11cornerWidth12CoreGraphics7CGFloatVvp":{"name":"cornerWidth","abstract":"

    Corner width, default value is 0

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV11cornerColorSo7UIColorCvp":{"name":"cornerColor","abstract":"

    Corner color, default value is .clear

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV15backgroundColorSo7UIColorCvp":{"name":"backgroundColor","abstract":"

    Background color, default value is .clear

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV9textColorSo7UIColorCvp":{"name":"textColor","abstract":"

    Text Color, default value is .black

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV17disabledTextColorSo7UIColorCvp":{"name":"disabledTextColor","abstract":"

    Disabled text color, default value is .black

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4fontSo6UIFontCvp":{"name":"font","abstract":"

    Font, default value is .systemFont(ofSize: 16, weight: .semibold)

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4size16horizontalOffset08verticalJ0AESo6CGSizeV_12CoreGraphics7CGFloatVAMtcfc":{"name":"init(size:horizontalOffset:verticalOffset:)","abstract":"

    Initiates a spin button preferences

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV14textAttributesSDySo21NSAttributedStringKeyaypGvp":{"name":"textAttributes","abstract":"

    Creates text attributes, relative to slice index position

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV19backgroundColorTypeAC0hI0Ovp":{"name":"backgroundColorType","abstract":"

    Background color type

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV11strokeWidth12CoreGraphics7CGFloatVvp":{"name":"strokeWidth","abstract":"

    Stroke width

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV11strokeColorSo7UIColorCvp":{"name":"strokeColor","abstract":"

    Stroke color

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV19backgroundColorType11strokeWidth0jH0AeC0hI0O_12CoreGraphics7CGFloatVSo7UIColorCtcfc":{"name":"init(backgroundColorType:strokeWidth:strokeColor:)","abstract":"

    Initiates a slice preferences

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeWidth12CoreGraphics7CGFloatVvp":{"name":"strokeWidth","abstract":"

    Stroke width

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeColorSo7UIColorCvp":{"name":"strokeColor","abstract":"

    Stroke color

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeWidth0G5ColorAE12CoreGraphics7CGFloatV_So7UIColorCtcfc":{"name":"init(strokeWidth:strokeColor:)","abstract":"

    Initiates a circle preferences

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV06circleE0AC06CircleE0Vvp":{"name":"circlePreferences","abstract":"

    Circle preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV05sliceE0AC05SliceE0Vvp":{"name":"slicePreferences","abstract":"

    Slice preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV13startPositionAC0G0Ovp":{"name":"startPosition","abstract":"

    Start position, should be equal to FortuneWheelConfiguration.pinPreferences.position

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV11layerInsetsSo06UIEdgeG0Vvp":{"name":"layerInsets","abstract":"

    Layer insets, used to center the drawing such that offseted graphics(e.g Shadows, Outer Glows) are not clipped.","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV14contentMarginsAC0G0Vvp":{"name":"contentMargins","abstract":"

    Margins for content inside a slide

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV11imageAnchorAC0G5ImageVSgvp":{"name":"imageAnchor","abstract":"

    Image anchor for each slice, located at the wheel’s border, optional

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV17centerImageAnchorAC0hG0VSgvp":{"name":"centerImageAnchor","abstract":"

    Image anchor for each slice, located at the center of wheel’s border, optional

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV26layerInsetsWithCircleWidthSo06UIEdgeG0Vvp":{"name":"layerInsetsWithCircleWidth","abstract":"

    Undocumented

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV06circleE005sliceE013startPositionAeC06CircleE0V_AC05SliceE0VAC0I0Otcfc":{"name":"init(circlePreferences:slicePreferences:startPosition:)","abstract":"

    Initiates a wheel preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV21spinButtonPreferencesAC04SpinfG0VSgvp":{"name":"spinButtonPreferences","abstract":"

    Spin button preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV14pinPreferencesAC012PinImageViewF0VSgvp":{"name":"pinPreferences","abstract":"

    Pin (arrow) view preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV16wheelPreferencesAC0cF0Vvp":{"name":"wheelPreferences","abstract":"

    Wheel preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/alignmentRectInsets":{"name":"alignmentRectInsets","abstract":"

    Used to expand the clipping area

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV16wheelPreferences03pinF0010spinButtonF0A2C0cF0V_AC012PinImageViewF0VSgAC04SpiniF0VSgtcfc":{"name":"init(wheelPreferences:pinPreferences:spinButtonPreferences:)","abstract":"

    Initiates a configuration

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/WheelPreferences.html":{"name":"WheelPreferences","abstract":"

    Wheel preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/CirclePreferences.html":{"name":"CirclePreferences","abstract":"

    Circle preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/SlicePreferences.html":{"name":"SlicePreferences","abstract":"

    Slice preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/SpinButtonPreferences.html":{"name":"SpinButtonPreferences","abstract":"

    Spin button preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/PinImageViewPreferences.html":{"name":"PinImageViewPreferences","abstract":"

    Pin image view preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/Position.html":{"name":"Position","abstract":"

    Position, pin or start position

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/Margins.html":{"name":"Margins","abstract":"

    Margins

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/ColorType.html":{"name":"ColorType","abstract":"

    Color type, used to color the item with the particularized pattern.","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/AnchorImage.html":{"name":"AnchorImage","abstract":"

    Anchor image used to add images around the wheel for each slice

    ","parent_name":"SFWConfiguration"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV6height12CoreGraphics7CGFloatVvp":{"name":"height","abstract":"

    Stroke height, default value is 1

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV9colorTypeAA16SFWConfigurationV05ColorG0Ovp":{"name":"colorType","abstract":"

    Stroke color type

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV9colorType6height14verticalOffsetAcA16SFWConfigurationV05ColorG0O_12CoreGraphics7CGFloatVAMtcfc":{"name":"init(colorType:height:verticalOffset:)","abstract":"

    Initiates a line preferences

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV11strokeColor3forSo7UIColorCSi_tF":{"name":"strokeColor(for:)","abstract":"

    Undocumented

    ","parent_name":"LinePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV13preferredSizeSo6CGSizeVvp":{"name":"preferredSize","abstract":"

    Prefered image size, required

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset in slice from the center, default value is 0

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV14flipUpsideDownSbvp":{"name":"flipUpsideDown","abstract":"

    Flip the text upside down, default value is false

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV15backgroundColorSo7UIColorCSgvp":{"name":"backgroundColor","abstract":"

    Background color, optional

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV13preferredSize14verticalOffsetACSo6CGSizeV_12CoreGraphics7CGFloatVtcfc":{"name":"init(preferredSize:verticalOffset:)","abstract":"

    Initiates a image preferences

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html":{"name":"ImagePreferences","abstract":"

    Image preferences

    "},"Structs/LinePreferences.html":{"name":"LinePreferences","abstract":"

    Line Preferences

    "},"Structs/SFWConfiguration.html":{"name":"SFWConfiguration","abstract":"

    Configuration, contains preferences to configure a fortune wheel

    "},"Structs/TextPreferences.html":{"name":"TextPreferences","abstract":"

    Text preferemces

    "},"Structs/Slice.html":{"name":"Slice","abstract":"

    Slice object that will be drawn as a custom content

    "},"Structs/Calc.html":{"name":"Calc","abstract":"

    Undocumented

    "},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE10drawCurved4text2in11preferences8rotation5index9topOffset6radius11sliceDegree025contextPositionCorrectionnQ07margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAQSiA4qA16SFWConfigurationV7MarginsVtF":{"name":"drawCurved(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:contextPositionCorrectionOffsetDegree:margins:)","abstract":"

    Draws curved text

    ","parent_name":"TextDrawing"},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE14drawHorizontal4text2in11preferences8rotation5index9topOffset6radius11sliceDegree7margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAPSiA3pA16SFWConfigurationV7MarginsVtF":{"name":"drawHorizontal(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:margins:)","abstract":"

    Draws text

    ","parent_name":"TextDrawing"},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE12drawVertical4text2in11preferences8rotation5index9topOffset6radius11sliceDegree7margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAPSiA3pA16SFWConfigurationV7MarginsVtF":{"name":"drawVertical(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:margins:)","abstract":"

    Draws text

    ","parent_name":"TextDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE21circularSegmentHeight12CoreGraphics7CGFloatVvp":{"name":"circularSegmentHeight","abstract":"

    Circular segment height

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE7marginsAA16SFWConfigurationV7MarginsVvp":{"name":"margins","abstract":"

    Content margins

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE37contextPositionCorrectionOffsetDegree12CoreGraphics7CGFloatVvp":{"name":"contextPositionCorrectionOffsetDegree","abstract":"

    Context position correction offset degree

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE04drawD09withIndex2in03forD08rotation5start3endySi_So12CGContextRefaAA0D0V12CoreGraphics7CGFloatVA2QtF":{"name":"drawSlice(withIndex:in:forSlice:rotation:start:end:)","abstract":"

    Draw slice with content

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE11prepareDraw4text2in11preferences8rotation5index9topOffset12CoreGraphics7CGFloatVSS_So12CGContextRefaAA15TextPreferencesVAMSiAMtF":{"name":"prepareDraw(text:in:preferences:rotation:index:topOffset:)","abstract":"

    Prepare to draw text

    ","parent_name":"SliceDrawing"},"Protocols/ShapeDrawing.html#/s:17SwiftFortuneWheel12ShapeDrawingPAAE13drawRectangle2in8rotation6radiusySo12CGContextRefa_12CoreGraphics7CGFloatVALtF":{"name":"drawRectangle(in:rotation:radius:)","abstract":"

    Draws rectangle

    ","parent_name":"ShapeDrawing"},"Protocols/ShapeDrawing.html#/s:17SwiftFortuneWheel12ShapeDrawingPAAE8drawLine2in11preferences5start3and8rotation5index9topOffset6radius7margins025contextPositionCorrectionO6DegreeySo12CGContextRefa_AA0G11PreferencesV12CoreGraphics7CGFloatVA2USiA2uA16SFWConfigurationV7MarginsVAUtF":{"name":"drawLine(in:preferences:start:and:rotation:index:topOffset:radius:margins:contextPositionCorrectionOffsetDegree:)","abstract":"

    Draws curved line

    ","parent_name":"ShapeDrawing"},"Protocols/ImageDrawing.html#/s:17SwiftFortuneWheel12ImageDrawingPAAE04drawD02in5image11preferences8rotation5index9topOffset6radius7marginsySo12CGContextRefa_So7UIImageCAA0D11PreferencesV12CoreGraphics7CGFloatVSiA2uA16SFWConfigurationV7MarginsVtF":{"name":"drawImage(in:image:preferences:rotation:index:topOffset:radius:margins:)","abstract":"

    Draws image

    ","parent_name":"ImageDrawing"},"Protocols/ImageDrawing.html#/s:17SwiftFortuneWheel12ImageDrawingPAAE010drawAnchorD02in05imageG010isCentered8rotation5index6radius11sliceDegree0L6OffsetySo12CGContextRefa_AA16SFWConfigurationV0gD0VSb12CoreGraphics7CGFloatVSiA3UtF":{"name":"drawAnchorImage(in:imageAnchor:isCentered:rotation:index:radius:sliceDegree:rotationOffset:)","abstract":"

    Draws anchor image

    ","parent_name":"ImageDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE22centreArcPerpendicular4text7context6radius5angle6colour4font9clockwise12preferedSizeySS_So12CGContextRefa12CoreGraphics7CGFloatVAQSo7UIColorCSo6UIFontCSbSo6CGSizeVtF":{"name":"centreArcPerpendicular(text:context:radius:angle:colour:font:clockwise:preferedSize:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE10chordToArc_6radius12CoreGraphics7CGFloatVAH_AHtF":{"name":"chordToArc(_:radius:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE6centre4text7context6radius5angle6colour4font10slantAngle13preferedWidthySS_So12CGContextRefa12CoreGraphics7CGFloatVAQSo7UIColorCSo6UIFontCA2QtF":{"name":"centre(text:context:radius:angle:colour:font:slantAngle:preferedWidth:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP5frameSo6CGRectVvp":{"name":"frame","abstract":"

    Wheel frame

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP9mainFrameSo6CGRectVSgvp":{"name":"mainFrame","abstract":"

    Wheel main frame

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Wheel preferences

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE6radius12CoreGraphics7CGFloatVvp":{"name":"radius","abstract":"

    Radius

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE14rotationOffset12CoreGraphics7CGFloatVvp":{"name":"rotationOffset","abstract":"

    Rotation offset

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE21circularSegmentHeight4from12CoreGraphics7CGFloatVAH_tF":{"name":"circularSegmentHeight(from:)","abstract":"

    Circular segment height for degree

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE11updateSizes0F5FrameySb_tF":{"name":"updateSizes(updateFrame:)","abstract":"

    Updates frame sizes

    ","parent_name":"WheelMathCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingP6slicesSayAA0D0VGvp":{"name":"slices","abstract":"

    Slices

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE11sliceDegree12CoreGraphics7CGFloatVvp":{"name":"sliceDegree","abstract":"

    Slice degree

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE5theta12CoreGraphics7CGFloatVvp":{"name":"theta","abstract":"

    Theta

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE13computeRadian4from12CoreGraphics7CGFloatVSi_tF":{"name":"computeRadian(from:)","abstract":"

    Calculates radion for index

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE13segmentHeight6radius12CoreGraphics7CGFloatVAH_tF":{"name":"segmentHeight(radius:)","abstract":"

    Segment height

    ","parent_name":"SliceCalculating"},"Protocols/SpinningAnimatorProtocol.html#/s:17SwiftFortuneWheel24SpinningAnimatorProtocolP14layerToAnimateAA0D10Animatable_pSgvp":{"name":"layerToAnimate","abstract":"

    Layer that animates

    ","parent_name":"SpinningAnimatorProtocol"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE17updateLayerValues14forAnimationIdySS_tF":{"name":"updateLayerValues(forAnimationId:)","abstract":"

    Updates layer values

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE16removeAnimations14forAnimationIdySS_tF":{"name":"removeAnimations(forAnimationId:)","abstract":"

    Removes animations

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE25removeIndefiniteAnimationyyF":{"name":"removeIndefiniteAnimation()","abstract":"

    Removes indefinite animation

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html":{"name":"SpinningAnimatable","abstract":"

    Spinning animatable protocol

    "},"Protocols/SpinningAnimatorProtocol.html":{"name":"SpinningAnimatorProtocol","abstract":"

    Spinning animator protocol

    "},"Protocols/SliceCalculating.html":{"name":"SliceCalculating","abstract":"

    Slice calculation protocol

    "},"Protocols/WheelMathCalculating.html":{"name":"WheelMathCalculating","abstract":"

    Wheel other math calculation protocol

    "},"Protocols/CurveTextDrawing.html":{"name":"CurveTextDrawing","abstract":"

    Curved text drawing protocol

    "},"Protocols/ImageDrawing.html":{"name":"ImageDrawing","abstract":"

    Image drawing protocol

    "},"Protocols/ShapeDrawing.html":{"name":"ShapeDrawing","abstract":"

    Shape drawing protocol

    "},"Protocols/SliceDrawing.html":{"name":"SliceDrawing","abstract":"

    Slice drawing protocol

    "},"Protocols/TextDrawing.html":{"name":"TextDrawing","abstract":"

    Curved text drawing protocol

    "},"Functions.html#/UIGraphicsGetCurrentContext()":{"name":"UIGraphicsGetCurrentContext()"},"Functions.html#/UIGraphicsPushContext(_:)":{"name":"UIGraphicsPushContext(_:)"},"Functions.html#/UIGraphicsPopContext()":{"name":"UIGraphicsPopContext()"},"Extensions/NSBezierPath.html#/addArc(withCenter:radius:startAngle:endAngle:clockwise:)":{"name":"addArc(withCenter:radius:startAngle:endAngle:clockwise:)","parent_name":"NSBezierPath"},"Extensions/NSBezierPath.html#/addLine(to:)":{"name":"addLine(to:)","parent_name":"NSBezierPath"},"Extensions/CGRect.html#/inset(by:)":{"name":"inset(by:)","parent_name":"CGRect"},"Extensions/NSButton.html#/setImage(_:)":{"name":"setImage(_:)","parent_name":"NSButton"},"Extensions/NSButton.html#/setTitle(_:attributes:)":{"name":"setTitle(_:attributes:)","parent_name":"NSButton"},"Extensions/NSButton.html#/isUserInteractionEnabled":{"name":"isUserInteractionEnabled","parent_name":"NSButton"},"Extensions/NSImageView.html#/tintColor":{"name":"tintColor","parent_name":"NSImageView"},"Extensions/NSImage.html#/tint(color:)":{"name":"tint(color:)","parent_name":"NSImage"},"Extensions/NSFont.html#/lineHeight":{"name":"lineHeight","parent_name":"NSFont"},"Extensions/NSScreen.html#/scale":{"name":"scale","parent_name":"NSScreen"},"Extensions/SFWImage.html#/s:So7UIImageC17SwiftFortuneWheelE13withTintColoryABSo7UIColorCF":{"name":"withTintColor(_:)","abstract":"

    Tint the image with color

    ","parent_name":"SFWImage"},"Extensions/SFWFont.html#/s:So6UIFontC17SwiftFortuneWheelE12sizeOfString6string18constrainedToWidthSo6CGSizeVSS_12CoreGraphics7CGFloatVtF":{"name":"sizeOfString(string:constrainedToWidth:)","abstract":"

    Calculates size of string

    ","parent_name":"SFWFont"},"Extensions/SFWFont.html#/s:So6UIFontC17SwiftFortuneWheelE6number12ofCharacters7thatFit0E7OfLinesSiSS_12CoreGraphics7CGFloatVSitF":{"name":"number(ofCharacters:thatFit:numberOfLines:)","abstract":"

    Number of characters that fit witdh

    ","parent_name":"SFWFont"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE4crop2by4fontSS12CoreGraphics7CGFloatV_So6UIFontCtF":{"name":"crop(by:font:)","abstract":"

    Crops string by specified width and font

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE29replaceLastCharactersWithDots5countySi_tF":{"name":"replaceLastCharactersWithDots(count:)","abstract":"

    Replaces characters with dots at the end

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE10linesCount3for7spacingSiSo6UIFontC_12CoreGraphics7CGFloatVtF":{"name":"linesCount(for:spacing:)","abstract":"

    Сounts the right amount of lines for text

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE5split4font10lineWidths0F5Break0D9CharacterSaySSGSo6UIFontC_Say12CoreGraphics7CGFloatVGAA15TextPreferencesV04LineH4ModeOSStF":{"name":"split(font:lineWidths:lineBreak:splitCharacter:)","abstract":"

    Splits String to lines

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE5width2by12CoreGraphics7CGFloatVSo6UIFontC_tF":{"name":"width(by:)","abstract":"

    Avalilable width for text with specified font

    ","parent_name":"String"},"Extensions/UIView.html#/s:So6UIViewC17SwiftFortuneWheelE14setAnchorPoint06anchorG0ySo7CGPointV_tF":{"name":"setAnchorPoint(anchorPoint:)","abstract":"

    Undocumented

    ","parent_name":"UIView"},"Extensions/NSView.html#/setAnchorPoint(anchorPoint:)":{"name":"setAnchorPoint(anchorPoint:)","parent_name":"NSView"},"Extensions/NSView.html#/backgroundColor":{"name":"backgroundColor","parent_name":"NSView"},"Extensions/NSView.html#/layoutIfNeeded()":{"name":"layoutIfNeeded()","parent_name":"NSView"},"Extensions/SFWColor.html#/s:So7UIColorC17SwiftFortuneWheelE6randomABvpZ":{"name":"random","abstract":"

    Random color

    ","parent_name":"SFWColor"},"Extensions/CGSize.html#/s:So6CGSizeV17SwiftFortuneWheelE9aspectFit9sizeImageSo6CGRectVAB_tF":{"name":"aspectFit(sizeImage:)","abstract":"

    Calculates aspect fit size for image

    ","parent_name":"CGSize"},"Extensions/Array.html#/s:Sa17SwiftFortuneWheelE_7defaultxSi_xyXKtcip":{"name":"subscript(_:default:)","abstract":"

    Undocumented

    ","parent_name":"Array"},"Extensions/Array.html":{"name":"Array"},"Extensions/CGSize.html":{"name":"CGSize"},"Extensions/SFWColor.html":{"name":"SFWColor","abstract":"

    Undocumented

    "},"Extensions/NSView.html":{"name":"NSView"},"Extensions/UIView.html":{"name":"UIView"},"Extensions/String.html":{"name":"String"},"Extensions/SFWFont.html":{"name":"SFWFont","abstract":"

    Undocumented

    "},"Extensions/SFWImage.html":{"name":"SFWImage","abstract":"

    Undocumented

    "},"Extensions/NSScreen.html":{"name":"NSScreen"},"Extensions/NSFont.html":{"name":"NSFont"},"Extensions/NSImage.html":{"name":"NSImage"},"Extensions/NSImageView.html":{"name":"NSImageView"},"Extensions/NSButton.html":{"name":"NSButton"},"Extensions/CGRect.html":{"name":"CGRect"},"Extensions/NSBezierPath.html":{"name":"NSBezierPath"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC10wheelLayerAA0cF0CSgvp":{"name":"wheelLayer","abstract":"

    Wheel layer

    ","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Customizable preferences.","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC5frame6slices11preferencesACSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationV0C11PreferencesVSgtcfc":{"name":"init(frame:slices:preferences:)","abstract":"

    Initiates without IB.

    ","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/layout()":{"name":"layout()","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)drawRect:":{"name":"draw(_:)","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/wantsDefaultClipping":{"name":"wantsDefaultClipping","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC15setupAutoLayoutyyF":{"name":"setupAutoLayout()","abstract":"

    Setups auto layouts

    ","parent_name":"WheelView"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Customizable preferences.","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC9mainFrameSo6CGRectVSgvp":{"name":"mainFrame","abstract":"

    Main frame with inserts.

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC5frame6slices11preferencesACSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationV0C11PreferencesVSgtcfc":{"name":"init(frame:slices:preferences:)","abstract":"

    Initiates without IB.

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)initWithLayer:":{"name":"init(layer:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)drawInContext:":{"name":"draw(in:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(py)masksToBounds":{"name":"masksToBounds","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC10drawCanvas4withySo6CGRectV_tF":{"name":"drawCanvas(with:)","abstract":"

    Draws the wheel with slices in canvas

    ","parent_name":"WheelLayer"},"Classes/SpinButton.html#/init(frame:)":{"name":"init(frame:)","parent_name":"SpinButton"},"Classes/SpinButton.html#/init(coder:)":{"name":"init(coder:)","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC15setupAutoLayout4withyAA16SFWConfigurationV0dE11PreferencesVSg_tF":{"name":"setupAutoLayout(with:)","abstract":"

    Setups auto layouts with preferences

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC5image4nameySSSg_tF":{"name":"image(name:)","abstract":"

    Updates spin button image

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC15backgroundImage4nameySSSg_tF":{"name":"backgroundImage(name:)","abstract":"

    Updates spin button background image

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC9configure4withyAA16SFWConfigurationV0dE11PreferencesVSg_tF":{"name":"configure(with:)","abstract":"

    Updates spin button background color and layer

    ","parent_name":"SpinButton"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC15setupAutoLayout4withyAA16SFWConfigurationV0deF11PreferencesVSg_tF":{"name":"setupAutoLayout(with:)","abstract":"

    Setups auto layouts with preferences

    ","parent_name":"PinImageView"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC5image4nameySSSg_tF":{"name":"image(name:)","abstract":"

    Updates pin image

    ","parent_name":"PinImageView"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC9configure4withyAA16SFWConfigurationV0deF11PreferencesVSg_tF":{"name":"configure(with:)","abstract":"

    Updates pin image view background color and layer

    ","parent_name":"PinImageView"},"Classes/NoClippingLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)NoClippingLayer(py)masksToBounds":{"name":"masksToBounds","abstract":"

    Undocumented

    ","parent_name":"NoClippingLayer"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC5group10animations8fillMode14forEffectLayer14sublayersCountSo16CAAnimationGroupCSgSaySo0N0CG_SSSgSbSitFZ":{"name":"group(animations:fillMode:forEffectLayer:sublayersCount:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11maxDuration12ofAnimationsSdSaySo11CAAnimationCG_tFZ":{"name":"maxDuration(ofAnimations:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11maxDuration17ofEffectAnimation14sublayersCountSdSo11CAAnimationC_SitFZ":{"name":"maxDuration(ofEffectAnimation:sublayersCount:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC25updateValueFromAnimations9forLayersySaySo7CALayerCG_tFZ":{"name":"updateValueFromAnimations(forLayers:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11updateValue12forAnimation8theLayerySo11CAAnimationC_So7CALayerCtFZ":{"name":"updateValue(forAnimation:theLayer:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC32updateValueFromPresentationLayer12forAnimation03theI0ySo11CAAnimationCSg_So7CALayerCtFZ":{"name":"updateValueFromPresentationLayer(forAnimation:theLayer:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC15animationObjectAA0dE8Protocol_pSgvp":{"name":"animationObject","abstract":"

    Animation object

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC16completionBlocksSDySo11CAAnimationCySbcGvp":{"name":"completionBlocks","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC37updateLayerValueForCompletedAnimationSbvp":{"name":"updateLayerValueForCompletedAnimation","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC23currentRotationPosition12CoreGraphics7CGFloatVSgvp":{"name":"currentRotationPosition","abstract":"

    Current rotation position used to know where is last time rotation stopped

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC23rotationDirectionOffset12CoreGraphics7CGFloatVvp":{"name":"rotationDirectionOffset","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC19withObjectToAnimateAcA0dE8Protocol_p_tcfc":{"name":"init(withObjectToAnimate:)","abstract":"

    Initialize spinning wheel animator

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC30addIndefiniteRotationAnimation12rotationTimeySd_tF":{"name":"addIndefiniteRotationAnimation(rotationTime:)","abstract":"

    Start indefinite rotation animation

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC20addRotationAnimation24fullRotationsUntilFinish17animationDuration14rotationOffset15completionBlockySi_Sd12CoreGraphics7CGFloatVySbcSgtF":{"name":"addRotationAnimation(fullRotationsUntilFinish:animationDuration:rotationOffset:completionBlock:)","abstract":"

    Start rotation animation

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/c:@M@SwiftFortuneWheel@objc(cs)SpinningWheelAnimator(im)animationDidStop:finished:":{"name":"animationDidStop(_:finished:)","abstract":"

    Animation did stop

    ","parent_name":"SpinningWheelAnimator"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC15onSpinButtonTapyycSgvp":{"name":"onSpinButtonTap","abstract":"

    Called when spin button tapped

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC13configurationAA16SFWConfigurationVSgvp":{"name":"configuration","abstract":"

    Customizable configuration.","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC5frame6slices13configurationABSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationVSgtcfc":{"name":"init(frame:slices:configuration:)","abstract":"

    Initiates without IB.

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@M@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/wantsDefaultClipping":{"name":"wantsDefaultClipping","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/pressesEnded(_:with:)":{"name":"pressesEnded(_:with:)","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/layout()":{"name":"layout()","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@M@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    Undocumented

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/alignmentRectInsets":{"name":"alignmentRectInsets","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14layerToAnimateAA18SpinningAnimatable_pSgvp":{"name":"layerToAnimate","abstract":"

    / Animation conformance

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6rotate7toIndex17animationDurationySi_SdtF":{"name":"rotate(toIndex:animationDuration:)","abstract":"

    Rotates to the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6rotate14rotationOffset17animationDurationy12CoreGraphics7CGFloatV_SdtF":{"name":"rotate(rotationOffset:animationDuration:)","abstract":"

    Rotates to the specified angle offset

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating14rotationOffset24fullRotationsUntilFinish17animationDuration_y12CoreGraphics7CGFloatV_SiSdySbcSgtF":{"name":"startAnimating(rotationOffset:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified rotation offset angle

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating11finishIndex24fullRotationsUntilFinish17animationDuration_ySi_SiSdySbcSgtF":{"name":"startAnimating(finishIndex:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating31indefiniteRotationTimeInSeconds11finishIndex_ySi_SiySbcSgtF":{"name":"startAnimating(indefiniteRotationTimeInSeconds:finishIndex:_:)","abstract":"

    Starts indefinite rotation and stops rotation at the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimatingyyF":{"name":"startAnimating()","abstract":"

    Starts indefinite rotation animation

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC13stopAnimatingyyF":{"name":"stopAnimating()","abstract":"

    Stops all animations

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating11finishIndex14rotationOffset24fullRotationsUntilFinish17animationDuration_ySi_12CoreGraphics7CGFloatVSiSdySbcSgtF":{"name":"startAnimating(finishIndex:rotationOffset:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified index and rotation angle offset

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)pinImage":{"name":"pinImage","abstract":"

    Pin image name from assets catalog, sets image to the pinImageView

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isPinHidden":{"name":"isPinHidden","abstract":"

    is pinImageView hidden

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinImage":{"name":"spinImage","abstract":"

    Spin button image name from assets catalog, sets image to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinBackgroundImage":{"name":"spinBackgroundImage","abstract":"

    Spin button background image from assets catalog, sets background image to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinTitle":{"name":"spinTitle","abstract":"

    Spin button title text, sets title text to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isSpinHidden":{"name":"isSpinHidden","abstract":"

    Is spinButton hidden

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isSpinEnabled":{"name":"isSpinEnabled","abstract":"

    Is spinButton enabled

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html":{"name":"SwiftFortuneWheel","abstract":"

    Undocumented

    "},"Classes/SpinningWheelAnimator.html":{"name":"SpinningWheelAnimator","abstract":"

    Spinning wheel animator

    "},"Classes/TTUtils.html":{"name":"TTUtils","abstract":"

    Undocumented

    "},"Classes/NoClippingLayer.html":{"name":"NoClippingLayer","abstract":"

    Undocumented

    "},"Classes/PinImageView.html":{"name":"PinImageView","abstract":"

    Pin or anchor image view, that usually represents an arrow to point in selected slice.

    "},"Classes/SpinButton.html":{"name":"SpinButton","abstract":"

    Spin button located at the center of the fotune wheel view."},"Classes/WheelLayer.html":{"name":"WheelLayer","abstract":"

    Wheel layer

    "},"Classes/WheelView.html":{"name":"WheelView","abstract":"

    Wheel view with slices.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Functions.html":{"name":"Functions","abstract":"

    The following functions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structures","abstract":"

    The following structures are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file +{"Typealiases.html#/s:17SwiftFortuneWheel8SFWColora":{"name":"SFWColor","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel7SFWFonta":{"name":"SFWFont","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel8SFWImagea":{"name":"SFWImage","abstract":"

    Undocumented

    "},"Typealiases.html#/UIView":{"name":"UIView"},"Typealiases.html#/UIImageView":{"name":"UIImageView"},"Typealiases.html#/UIButton":{"name":"UIButton"},"Typealiases.html#/UIBezierPath":{"name":"UIBezierPath"},"Typealiases.html#/UIScreen":{"name":"UIScreen"},"Typealiases.html#/SFWControl":{"name":"SFWControl"},"Typealiases.html#/SFWColor":{"name":"SFWColor"},"Typealiases.html#/SFWImage":{"name":"SFWImage"},"Typealiases.html#/SFWFont":{"name":"SFWFont"},"Typealiases.html#/SFWEdgeInsets":{"name":"SFWEdgeInsets"},"Typealiases.html#/s:17SwiftFortuneWheel10SFWControla":{"name":"SFWControl","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel13SFWEdgeInsetsa":{"name":"SFWEdgeInsets","abstract":"

    Undocumented

    "},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV12flipRotation12CoreGraphics7CGFloatVvpZ":{"name":"flipRotation","abstract":"

    Flip rotation

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV5torady12CoreGraphics7CGFloatVAGFZ":{"name":"torad(_:)","abstract":"

    to rad.

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV21circularSegmentHeight6radius4from12CoreGraphics7CGFloatVAI_AItFZ":{"name":"circularSegmentHeight(radius:from:)","abstract":"

    Circular segment height for radius and degree

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV6radius21circularSegmentHeight4from12CoreGraphics7CGFloatVAI_AItFZ":{"name":"radius(circularSegmentHeight:from:)","abstract":"

    Radius calculation

    ","parent_name":"Calc"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO10assetImageyAESS_AA0H11PreferencesVtcAEmF":{"name":"assetImage(name:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO5imageyAESo7UIImageC_AA16ImagePreferencesVtcAEmF":{"name":"image(image:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO4textyAESS_AA15TextPreferencesVtcAEmF":{"name":"text(text:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO4lineyAeA15LinePreferencesV_tcAEmF":{"name":"line(preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV8contentsSayAC11ContentTypeOGvp":{"name":"contents","abstract":"

    Contents in vertical align order

    ","parent_name":"Slice"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV15backgroundColorSo7UIColorCSgvp":{"name":"backgroundColor","abstract":"

    Background color, optional

    ","parent_name":"Slice"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV15backgroundImageSo7UIImageCSgvp":{"name":"backgroundImage","abstract":"

    Background image, optional

    ","parent_name":"Slice"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV8contents15backgroundColor0F5ImageACSayAC11ContentTypeOG_So7UIColorCSgSo7UIImageCSgtcfc":{"name":"init(contents:backgroundColor:backgroundImage:)","abstract":"

    Initiates a slice object

    ","parent_name":"Slice"},"Structs/Slice/ContentType.html":{"name":"ContentType","abstract":"

    Slice content type, currently image or text

    ","parent_name":"Slice"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO4clipyA2EmF":{"name":"clip","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO12truncateTailyA2EmF":{"name":"truncateTail","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO8wordWrapyA2EmF":{"name":"wordWrap","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO06systemfgH0So06NSLinegH0Vvp":{"name":"systemLineBreakMode","abstract":"

    NSLineBreakMode

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/Orientation.html#/s:17SwiftFortuneWheel15TextPreferencesV11OrientationO10horizontalyA2EmF":{"name":"horizontal","abstract":"

    Undocumented

    ","parent_name":"Orientation"},"Structs/TextPreferences/Orientation.html#/s:17SwiftFortuneWheel15TextPreferencesV11OrientationO8verticalyA2EmF":{"name":"vertical","abstract":"

    Undocumented

    ","parent_name":"Orientation"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV4fontSo6UIFontCvp":{"name":"font","abstract":"

    Text font

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13textColorTypeAA16SFWConfigurationV0gH0Ovp":{"name":"textColorType","abstract":"

    Text color type

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset in slice from the center, default value is 0

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14flipUpsideDownSbvp":{"name":"flipUpsideDown","abstract":"

    Flip the text upside down, default value is true

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV8isCurvedSbvp":{"name":"isCurved","abstract":"

    Is text curved or not, works only with orientation equal to horizontal, default value is true

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV11orientationAC11OrientationOvp":{"name":"orientation","abstract":"

    Text orientation, default value is .horizontal

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13lineBreakModeAC04LinegH0Ovp":{"name":"lineBreakMode","abstract":"

    The technique to use for wrapping and truncating the label’s text, default value is .clip

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13numberOfLinesSivp":{"name":"numberOfLines","abstract":"

    The maximum number of lines to use for rendering text., default valie is 1

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV7spacing12CoreGraphics7CGFloatVvp":{"name":"spacing","abstract":"

    Spacing between lines, default value is 3

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV9alignmentSo15NSTextAlignmentVvp":{"name":"alignment","abstract":"

    The technique to use for aligning the text, default value is .left

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13textColorType4font14verticalOffsetAcA16SFWConfigurationV0gH0O_So6UIFontC12CoreGraphics7CGFloatVtcfc":{"name":"init(textColorType:font:verticalOffset:)","abstract":"

    Initiates a text preferences

    ","parent_name":"TextPreferences"},"Structs/TextPreferences/Orientation.html":{"name":"Orientation","abstract":"

    Text orientation, horizontal or vertical

    ","parent_name":"TextPreferences"},"Structs/TextPreferences/LineBreakMode.html":{"name":"LineBreakMode","abstract":"

    The technique to use for wrapping and truncating the label’s text

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV5color3forSo7UIColorCSi_tF":{"name":"color(for:)","abstract":"

    Creates a color for text, relative to slice index position

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14textAttributes3forSDySo21NSAttributedStringKeyaypGSi_tF":{"name":"textAttributes(for:)","abstract":"

    Creates text attributes, relative to slice index position

    ","parent_name":"TextPreferences"},"Structs/SFWConfiguration/ContentMode.html#/s:17SwiftFortuneWheel16SFWConfigurationV11ContentModeO15scaleAspectFillyA2EmF":{"name":"scaleAspectFill","abstract":"

    Undocumented

    ","parent_name":"ContentMode"},"Structs/SFWConfiguration/ContentMode.html#/s:17SwiftFortuneWheel16SFWConfigurationV11ContentModeO6bottomyA2EmF":{"name":"bottom","abstract":"

    Undocumented

    ","parent_name":"ContentMode"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size, required

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9imageNameSSvp":{"name":"imageName","abstract":"

    Image name from assets catalog

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV20rotationDegreeOffset12CoreGraphics7CGFloatVvp":{"name":"rotationDegreeOffset","abstract":"

    Rotation degree offset, default value is 0

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9imageName4size14verticalOffsetAESS_So6CGSizeV12CoreGraphics7CGFloatVtcfc":{"name":"init(imageName:size:verticalOffset:)","abstract":"

    Initiates a anchor image object

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/ColorType.html#/s:17SwiftFortuneWheel16SFWConfigurationV9ColorTypeO13evenOddColorsyAESo7UIColorC_AHtcAEmF":{"name":"evenOddColors(evenColor:oddColor:)","abstract":"

    Undocumented

    ","parent_name":"ColorType"},"Structs/SFWConfiguration/ColorType.html#/s:17SwiftFortuneWheel16SFWConfigurationV9ColorTypeO19customPatternColorsyAESaySo7UIColorCGSg_AHtcAEmF":{"name":"customPatternColors(colors:defaultColor:)","abstract":"

    Undocumented

    ","parent_name":"ColorType"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV4left12CoreGraphics7CGFloatVvp":{"name":"left","abstract":"

    Left margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV5right12CoreGraphics7CGFloatVvp":{"name":"right","abstract":"

    Right margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV3top12CoreGraphics7CGFloatVvp":{"name":"top","abstract":"

    Top margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV6bottom12CoreGraphics7CGFloatVvp":{"name":"bottom","abstract":"

    Bottom margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsVAEycfc":{"name":"init()","abstract":"

    Initiates a margins with default values:","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV3top4left5right6bottomAE12CoreGraphics7CGFloatV_A3Ltcfc":{"name":"init(top:left:right:bottom:)","abstract":"

    Initiates a margins

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO3topyA2EmF":{"name":"top","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO6bottomyA2EmF":{"name":"bottom","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO4leftyA2EmF":{"name":"left","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO5rightyA2EmF":{"name":"right","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO16startAngleOffset12CoreGraphics7CGFloatVvp":{"name":"startAngleOffset","abstract":"

    Start position angle offset in degree.","parent_name":"Position"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV8positionAC8PositionOvp":{"name":"position","abstract":"

    Position

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV15backgroundColorSo7UIColorCvp":{"name":"backgroundColor","abstract":"

    Background color, default value is .clear

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV4size8position16horizontalOffset08verticalL0AESo6CGSizeV_AC8PositionO12CoreGraphics7CGFloatVAPtcfc":{"name":"init(size:position:horizontalOffset:verticalOffset:)","abstract":"

    Initiates a pin image view preferences

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV12cornerRadius12CoreGraphics7CGFloatVvp":{"name":"cornerRadius","abstract":"

    Corner radius, default value is 0

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV11cornerWidth12CoreGraphics7CGFloatVvp":{"name":"cornerWidth","abstract":"

    Corner width, default value is 0

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV11cornerColorSo7UIColorCvp":{"name":"cornerColor","abstract":"

    Corner color, default value is .clear

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV15backgroundColorSo7UIColorCvp":{"name":"backgroundColor","abstract":"

    Background color, default value is .clear

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV9textColorSo7UIColorCvp":{"name":"textColor","abstract":"

    Text Color, default value is .black

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV17disabledTextColorSo7UIColorCvp":{"name":"disabledTextColor","abstract":"

    Disabled text color, default value is .black

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4fontSo6UIFontCvp":{"name":"font","abstract":"

    Font, default value is .systemFont(ofSize: 16, weight: .semibold)

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4size16horizontalOffset08verticalJ0AESo6CGSizeV_12CoreGraphics7CGFloatVAMtcfc":{"name":"init(size:horizontalOffset:verticalOffset:)","abstract":"

    Initiates a spin button preferences

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV14textAttributesSDySo21NSAttributedStringKeyaypGvp":{"name":"textAttributes","abstract":"

    Creates text attributes, relative to slice index position

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV19backgroundColorTypeAC0hI0Ovp":{"name":"backgroundColorType","abstract":"

    Background color type

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV11strokeWidth12CoreGraphics7CGFloatVvp":{"name":"strokeWidth","abstract":"

    Stroke width

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV11strokeColorSo7UIColorCvp":{"name":"strokeColor","abstract":"

    Stroke color

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV26backgroundImageContentModeAC0iJ0Ovp":{"name":"backgroundImageContentMode","abstract":"

    Background image content mode

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV19backgroundColorType11strokeWidth0jH0AeC0hI0O_12CoreGraphics7CGFloatVSo7UIColorCtcfc":{"name":"init(backgroundColorType:strokeWidth:strokeColor:)","abstract":"

    Initiates a slice preferences

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeWidth12CoreGraphics7CGFloatVvp":{"name":"strokeWidth","abstract":"

    Stroke width

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeColorSo7UIColorCvp":{"name":"strokeColor","abstract":"

    Stroke color

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeWidth0G5ColorAE12CoreGraphics7CGFloatV_So7UIColorCtcfc":{"name":"init(strokeWidth:strokeColor:)","abstract":"

    Initiates a circle preferences

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV06circleE0AC06CircleE0Vvp":{"name":"circlePreferences","abstract":"

    Circle preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV05sliceE0AC05SliceE0Vvp":{"name":"slicePreferences","abstract":"

    Slice preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV13startPositionAC0G0Ovp":{"name":"startPosition","abstract":"

    Start position, should be equal to FortuneWheelConfiguration.pinPreferences.position

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV11layerInsetsSo06UIEdgeG0Vvp":{"name":"layerInsets","abstract":"

    Layer insets, used to center the drawing such that offseted graphics(e.g Shadows, Outer Glows) are not clipped.","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV14contentMarginsAC0G0Vvp":{"name":"contentMargins","abstract":"

    Margins for content inside a slide

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV11imageAnchorAC0G5ImageVSgvp":{"name":"imageAnchor","abstract":"

    Image anchor for each slice, located at the wheel’s border, optional

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV17centerImageAnchorAC0hG0VSgvp":{"name":"centerImageAnchor","abstract":"

    Image anchor for each slice, located at the center of wheel’s border, optional

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV26layerInsetsWithCircleWidthSo06UIEdgeG0Vvp":{"name":"layerInsetsWithCircleWidth","abstract":"

    Undocumented

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV06circleE005sliceE013startPositionAeC06CircleE0V_AC05SliceE0VAC0I0Otcfc":{"name":"init(circlePreferences:slicePreferences:startPosition:)","abstract":"

    Initiates a wheel preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV21spinButtonPreferencesAC04SpinfG0VSgvp":{"name":"spinButtonPreferences","abstract":"

    Spin button preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV14pinPreferencesAC012PinImageViewF0VSgvp":{"name":"pinPreferences","abstract":"

    Pin (arrow) view preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV16wheelPreferencesAC0cF0Vvp":{"name":"wheelPreferences","abstract":"

    Wheel preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/alignmentRectInsets":{"name":"alignmentRectInsets","abstract":"

    Used to expand the clipping area

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV16wheelPreferences03pinF0010spinButtonF0A2C0cF0V_AC012PinImageViewF0VSgAC04SpiniF0VSgtcfc":{"name":"init(wheelPreferences:pinPreferences:spinButtonPreferences:)","abstract":"

    Initiates a configuration

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/WheelPreferences.html":{"name":"WheelPreferences","abstract":"

    Wheel preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/CirclePreferences.html":{"name":"CirclePreferences","abstract":"

    Circle preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/SlicePreferences.html":{"name":"SlicePreferences","abstract":"

    Slice preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/SpinButtonPreferences.html":{"name":"SpinButtonPreferences","abstract":"

    Spin button preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/PinImageViewPreferences.html":{"name":"PinImageViewPreferences","abstract":"

    Pin image view preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/Position.html":{"name":"Position","abstract":"

    Position, pin or start position

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/Margins.html":{"name":"Margins","abstract":"

    Margins

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/ColorType.html":{"name":"ColorType","abstract":"

    Color type, used to color the item with the particularized pattern.","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/AnchorImage.html":{"name":"AnchorImage","abstract":"

    Anchor image used to add images around the wheel for each slice

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/ContentMode.html":{"name":"ContentMode","abstract":"

    Content can be drawn by specified mode

    ","parent_name":"SFWConfiguration"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV6height12CoreGraphics7CGFloatVvp":{"name":"height","abstract":"

    Stroke height, default value is 1

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV9colorTypeAA16SFWConfigurationV05ColorG0Ovp":{"name":"colorType","abstract":"

    Stroke color type

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV9colorType6height14verticalOffsetAcA16SFWConfigurationV05ColorG0O_12CoreGraphics7CGFloatVAMtcfc":{"name":"init(colorType:height:verticalOffset:)","abstract":"

    Initiates a line preferences

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV11strokeColor3forSo7UIColorCSi_tF":{"name":"strokeColor(for:)","abstract":"

    Undocumented

    ","parent_name":"LinePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV13preferredSizeSo6CGSizeVvp":{"name":"preferredSize","abstract":"

    Prefered image size, required

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset in slice from the center, default value is 0

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV14flipUpsideDownSbvp":{"name":"flipUpsideDown","abstract":"

    Flip the text upside down, default value is false

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV15backgroundColorSo7UIColorCSgvp":{"name":"backgroundColor","abstract":"

    Background color, optional

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV13preferredSize14verticalOffsetACSo6CGSizeV_12CoreGraphics7CGFloatVtcfc":{"name":"init(preferredSize:verticalOffset:)","abstract":"

    Initiates a image preferences

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html":{"name":"ImagePreferences","abstract":"

    Image preferences

    "},"Structs/LinePreferences.html":{"name":"LinePreferences","abstract":"

    Line Preferences

    "},"Structs/SFWConfiguration.html":{"name":"SFWConfiguration","abstract":"

    Configuration, contains preferences to configure a fortune wheel

    "},"Structs/TextPreferences.html":{"name":"TextPreferences","abstract":"

    Text preferemces

    "},"Structs/Slice.html":{"name":"Slice","abstract":"

    Slice object that will be drawn as a custom content

    "},"Structs/Calc.html":{"name":"Calc","abstract":"

    Undocumented

    "},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE10drawCurved4text2in11preferences8rotation5index9topOffset6radius11sliceDegree025contextPositionCorrectionnQ07margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAQSiA4qA16SFWConfigurationV7MarginsVtF":{"name":"drawCurved(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:contextPositionCorrectionOffsetDegree:margins:)","abstract":"

    Draws curved text

    ","parent_name":"TextDrawing"},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE14drawHorizontal4text2in11preferences8rotation5index9topOffset6radius11sliceDegree7margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAPSiA3pA16SFWConfigurationV7MarginsVtF":{"name":"drawHorizontal(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:margins:)","abstract":"

    Draws text

    ","parent_name":"TextDrawing"},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE12drawVertical4text2in11preferences8rotation5index9topOffset6radius11sliceDegree7margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAPSiA3pA16SFWConfigurationV7MarginsVtF":{"name":"drawVertical(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:margins:)","abstract":"

    Draws text

    ","parent_name":"TextDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE21circularSegmentHeight12CoreGraphics7CGFloatVvp":{"name":"circularSegmentHeight","abstract":"

    Circular segment height

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE7marginsAA16SFWConfigurationV7MarginsVvp":{"name":"margins","abstract":"

    Content margins

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE37contextPositionCorrectionOffsetDegree12CoreGraphics7CGFloatVvp":{"name":"contextPositionCorrectionOffsetDegree","abstract":"

    Context position correction offset degree

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE04drawD09withIndex2in03forD08rotation5start3endySi_So12CGContextRefaAA0D0V12CoreGraphics7CGFloatVA2QtF":{"name":"drawSlice(withIndex:in:forSlice:rotation:start:end:)","abstract":"

    Draw slice with content

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE11prepareDraw4text2in11preferences8rotation5index9topOffset12CoreGraphics7CGFloatVSS_So12CGContextRefaAA15TextPreferencesVAMSiAMtF":{"name":"prepareDraw(text:in:preferences:rotation:index:topOffset:)","abstract":"

    Prepare to draw text

    ","parent_name":"SliceDrawing"},"Protocols/ShapeDrawing.html#/s:17SwiftFortuneWheel12ShapeDrawingPAAE13drawRectangle2in8rotation6radiusySo12CGContextRefa_12CoreGraphics7CGFloatVALtF":{"name":"drawRectangle(in:rotation:radius:)","abstract":"

    Draws rectangle

    ","parent_name":"ShapeDrawing"},"Protocols/ShapeDrawing.html#/s:17SwiftFortuneWheel12ShapeDrawingPAAE8drawLine2in11preferences5start3and8rotation5index9topOffset6radius7margins025contextPositionCorrectionO6DegreeySo12CGContextRefa_AA0G11PreferencesV12CoreGraphics7CGFloatVA2USiA2uA16SFWConfigurationV7MarginsVAUtF":{"name":"drawLine(in:preferences:start:and:rotation:index:topOffset:radius:margins:contextPositionCorrectionOffsetDegree:)","abstract":"

    Draws curved line

    ","parent_name":"ShapeDrawing"},"Protocols/ImageDrawing.html#/s:17SwiftFortuneWheel12ImageDrawingPAAE04drawD02in5image11preferences8rotation5index9topOffset6radius7marginsySo12CGContextRefa_So7UIImageCAA0D11PreferencesV12CoreGraphics7CGFloatVSiA2uA16SFWConfigurationV7MarginsVtF":{"name":"drawImage(in:image:preferences:rotation:index:topOffset:radius:margins:)","abstract":"

    Draws image

    ","parent_name":"ImageDrawing"},"Protocols/ImageDrawing.html#/s:17SwiftFortuneWheel12ImageDrawingPAAE010drawAnchorD02in05imageG010isCentered8rotation5index6radius11sliceDegree0L6OffsetySo12CGContextRefa_AA16SFWConfigurationV0gD0VSb12CoreGraphics7CGFloatVSiA3UtF":{"name":"drawAnchorImage(in:imageAnchor:isCentered:rotation:index:radius:sliceDegree:rotationOffset:)","abstract":"

    Draws anchor image

    ","parent_name":"ImageDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE22centreArcPerpendicular4text7context6radius5angle6colour4font9clockwise12preferedSizeySS_So12CGContextRefa12CoreGraphics7CGFloatVAQSo7UIColorCSo6UIFontCSbSo6CGSizeVtF":{"name":"centreArcPerpendicular(text:context:radius:angle:colour:font:clockwise:preferedSize:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE10chordToArc_6radius12CoreGraphics7CGFloatVAH_AHtF":{"name":"chordToArc(_:radius:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE6centre4text7context6radius5angle6colour4font10slantAngle13preferedWidthySS_So12CGContextRefa12CoreGraphics7CGFloatVAQSo7UIColorCSo6UIFontCA2QtF":{"name":"centre(text:context:radius:angle:colour:font:slantAngle:preferedWidth:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP5frameSo6CGRectVvp":{"name":"frame","abstract":"

    Wheel frame

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP9mainFrameSo6CGRectVSgvp":{"name":"mainFrame","abstract":"

    Wheel main frame

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Wheel preferences

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE6radius12CoreGraphics7CGFloatVvp":{"name":"radius","abstract":"

    Radius

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE14rotationOffset12CoreGraphics7CGFloatVvp":{"name":"rotationOffset","abstract":"

    Rotation offset

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE21circularSegmentHeight4from12CoreGraphics7CGFloatVAH_tF":{"name":"circularSegmentHeight(from:)","abstract":"

    Circular segment height for degree

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE11updateSizes0F5FrameySb_tF":{"name":"updateSizes(updateFrame:)","abstract":"

    Updates frame sizes

    ","parent_name":"WheelMathCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingP6slicesSayAA0D0VGvp":{"name":"slices","abstract":"

    Slices

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE11sliceDegree12CoreGraphics7CGFloatVvp":{"name":"sliceDegree","abstract":"

    Slice degree

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE5theta12CoreGraphics7CGFloatVvp":{"name":"theta","abstract":"

    Theta

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE13computeRadian4from12CoreGraphics7CGFloatVSi_tF":{"name":"computeRadian(from:)","abstract":"

    Calculates radion for index

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE13segmentHeight6radius12CoreGraphics7CGFloatVAH_tF":{"name":"segmentHeight(radius:)","abstract":"

    Segment height

    ","parent_name":"SliceCalculating"},"Protocols/SpinningAnimatorProtocol.html#/s:17SwiftFortuneWheel24SpinningAnimatorProtocolP14layerToAnimateAA0D10Animatable_pSgvp":{"name":"layerToAnimate","abstract":"

    Layer that animates

    ","parent_name":"SpinningAnimatorProtocol"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE17updateLayerValues14forAnimationIdySS_tF":{"name":"updateLayerValues(forAnimationId:)","abstract":"

    Updates layer values

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE16removeAnimations14forAnimationIdySS_tF":{"name":"removeAnimations(forAnimationId:)","abstract":"

    Removes animations

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE25removeIndefiniteAnimationyyF":{"name":"removeIndefiniteAnimation()","abstract":"

    Removes indefinite animation

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html":{"name":"SpinningAnimatable","abstract":"

    Spinning animatable protocol

    "},"Protocols/SpinningAnimatorProtocol.html":{"name":"SpinningAnimatorProtocol","abstract":"

    Spinning animator protocol

    "},"Protocols/SliceCalculating.html":{"name":"SliceCalculating","abstract":"

    Slice calculation protocol

    "},"Protocols/WheelMathCalculating.html":{"name":"WheelMathCalculating","abstract":"

    Wheel other math calculation protocol

    "},"Protocols/CurveTextDrawing.html":{"name":"CurveTextDrawing","abstract":"

    Curved text drawing protocol

    "},"Protocols/ImageDrawing.html":{"name":"ImageDrawing","abstract":"

    Image drawing protocol

    "},"Protocols/ShapeDrawing.html":{"name":"ShapeDrawing","abstract":"

    Shape drawing protocol

    "},"Protocols/SliceDrawing.html":{"name":"SliceDrawing","abstract":"

    Slice drawing protocol

    "},"Protocols/TextDrawing.html":{"name":"TextDrawing","abstract":"

    Curved text drawing protocol

    "},"Functions.html#/UIGraphicsGetCurrentContext()":{"name":"UIGraphicsGetCurrentContext()"},"Functions.html#/UIGraphicsPushContext(_:)":{"name":"UIGraphicsPushContext(_:)"},"Functions.html#/UIGraphicsPopContext()":{"name":"UIGraphicsPopContext()"},"Extensions/NSBezierPath.html#/addArc(withCenter:radius:startAngle:endAngle:clockwise:)":{"name":"addArc(withCenter:radius:startAngle:endAngle:clockwise:)","parent_name":"NSBezierPath"},"Extensions/NSBezierPath.html#/addLine(to:)":{"name":"addLine(to:)","parent_name":"NSBezierPath"},"Extensions/CGRect.html#/inset(by:)":{"name":"inset(by:)","parent_name":"CGRect"},"Extensions/NSButton.html#/setImage(_:)":{"name":"setImage(_:)","parent_name":"NSButton"},"Extensions/NSButton.html#/setTitle(_:attributes:)":{"name":"setTitle(_:attributes:)","parent_name":"NSButton"},"Extensions/NSButton.html#/isUserInteractionEnabled":{"name":"isUserInteractionEnabled","parent_name":"NSButton"},"Extensions/NSImageView.html#/tintColor":{"name":"tintColor","parent_name":"NSImageView"},"Extensions/NSImage.html#/tint(color:)":{"name":"tint(color:)","parent_name":"NSImage"},"Extensions/NSFont.html#/lineHeight":{"name":"lineHeight","parent_name":"NSFont"},"Extensions/NSScreen.html#/scale":{"name":"scale","parent_name":"NSScreen"},"Extensions/SFWImage.html#/s:So7UIImageC17SwiftFortuneWheelE13withTintColoryABSo7UIColorCF":{"name":"withTintColor(_:)","abstract":"

    Tint the image with color

    ","parent_name":"SFWImage"},"Extensions/SFWFont.html#/s:So6UIFontC17SwiftFortuneWheelE12sizeOfString6string18constrainedToWidthSo6CGSizeVSS_12CoreGraphics7CGFloatVtF":{"name":"sizeOfString(string:constrainedToWidth:)","abstract":"

    Calculates size of string

    ","parent_name":"SFWFont"},"Extensions/SFWFont.html#/s:So6UIFontC17SwiftFortuneWheelE6number12ofCharacters7thatFit0E7OfLinesSiSS_12CoreGraphics7CGFloatVSitF":{"name":"number(ofCharacters:thatFit:numberOfLines:)","abstract":"

    Number of characters that fit witdh

    ","parent_name":"SFWFont"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE4crop2by4fontSS12CoreGraphics7CGFloatV_So6UIFontCtF":{"name":"crop(by:font:)","abstract":"

    Crops string by specified width and font

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE29replaceLastCharactersWithDots5countySi_tF":{"name":"replaceLastCharactersWithDots(count:)","abstract":"

    Replaces characters with dots at the end

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE10linesCount3for7spacingSiSo6UIFontC_12CoreGraphics7CGFloatVtF":{"name":"linesCount(for:spacing:)","abstract":"

    Сounts the right amount of lines for text

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE5split4font10lineWidths0F5Break0D9CharacterSaySSGSo6UIFontC_Say12CoreGraphics7CGFloatVGAA15TextPreferencesV04LineH4ModeOSStF":{"name":"split(font:lineWidths:lineBreak:splitCharacter:)","abstract":"

    Splits String to lines

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE5width2by12CoreGraphics7CGFloatVSo6UIFontC_tF":{"name":"width(by:)","abstract":"

    Avalilable width for text with specified font

    ","parent_name":"String"},"Extensions/UIView.html#/s:So6UIViewC17SwiftFortuneWheelE14setAnchorPoint06anchorG0ySo7CGPointV_tF":{"name":"setAnchorPoint(anchorPoint:)","abstract":"

    Undocumented

    ","parent_name":"UIView"},"Extensions/NSView.html#/setAnchorPoint(anchorPoint:)":{"name":"setAnchorPoint(anchorPoint:)","parent_name":"NSView"},"Extensions/NSView.html#/backgroundColor":{"name":"backgroundColor","parent_name":"NSView"},"Extensions/NSView.html#/layoutIfNeeded()":{"name":"layoutIfNeeded()","parent_name":"NSView"},"Extensions/SFWColor.html#/s:So7UIColorC17SwiftFortuneWheelE6randomABvpZ":{"name":"random","abstract":"

    Random color

    ","parent_name":"SFWColor"},"Extensions/CGSize.html#/s:So6CGSizeV17SwiftFortuneWheelE10aspectFill0E5Ratio11minimumSizeA2B_ABtFZ":{"name":"aspectFill(aspectRatio:minimumSize:)","abstract":"

    Undocumented

    ","parent_name":"CGSize"},"Extensions/CGSize.html#/s:So6CGSizeV17SwiftFortuneWheelE9aspectFit9sizeImageSo6CGRectVAB_tF":{"name":"aspectFit(sizeImage:)","abstract":"

    Calculates aspect fit size for image

    ","parent_name":"CGSize"},"Extensions/Array.html#/s:Sa17SwiftFortuneWheelE_7defaultxSi_xyXKtcip":{"name":"subscript(_:default:)","abstract":"

    Undocumented

    ","parent_name":"Array"},"Extensions/Array.html":{"name":"Array"},"Extensions/CGSize.html":{"name":"CGSize"},"Extensions/SFWColor.html":{"name":"SFWColor","abstract":"

    Undocumented

    "},"Extensions/NSView.html":{"name":"NSView"},"Extensions/UIView.html":{"name":"UIView"},"Extensions/String.html":{"name":"String"},"Extensions/SFWFont.html":{"name":"SFWFont","abstract":"

    Undocumented

    "},"Extensions/SFWImage.html":{"name":"SFWImage","abstract":"

    Undocumented

    "},"Extensions/NSScreen.html":{"name":"NSScreen"},"Extensions/NSFont.html":{"name":"NSFont"},"Extensions/NSImage.html":{"name":"NSImage"},"Extensions/NSImageView.html":{"name":"NSImageView"},"Extensions/NSButton.html":{"name":"NSButton"},"Extensions/CGRect.html":{"name":"CGRect"},"Extensions/NSBezierPath.html":{"name":"NSBezierPath"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC10wheelLayerAA0cF0CSgvp":{"name":"wheelLayer","abstract":"

    Wheel layer

    ","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Customizable preferences.","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC5frame6slices11preferencesACSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationV0C11PreferencesVSgtcfc":{"name":"init(frame:slices:preferences:)","abstract":"

    Initiates without IB.

    ","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/layout()":{"name":"layout()","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)drawRect:":{"name":"draw(_:)","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/wantsDefaultClipping":{"name":"wantsDefaultClipping","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC15setupAutoLayoutyyF":{"name":"setupAutoLayout()","abstract":"

    Setups auto layouts

    ","parent_name":"WheelView"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Customizable preferences.","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC9mainFrameSo6CGRectVSgvp":{"name":"mainFrame","abstract":"

    Main frame with inserts.

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC5frame6slices11preferencesACSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationV0C11PreferencesVSgtcfc":{"name":"init(frame:slices:preferences:)","abstract":"

    Initiates without IB.

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)initWithLayer:":{"name":"init(layer:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)drawInContext:":{"name":"draw(in:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(py)masksToBounds":{"name":"masksToBounds","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC10drawCanvas4withySo6CGRectV_tF":{"name":"drawCanvas(with:)","abstract":"

    Draws the wheel with slices in canvas

    ","parent_name":"WheelLayer"},"Classes/SpinButton.html#/init(frame:)":{"name":"init(frame:)","parent_name":"SpinButton"},"Classes/SpinButton.html#/init(coder:)":{"name":"init(coder:)","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC15setupAutoLayout4withyAA16SFWConfigurationV0dE11PreferencesVSg_tF":{"name":"setupAutoLayout(with:)","abstract":"

    Setups auto layouts with preferences

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC5image4nameySSSg_tF":{"name":"image(name:)","abstract":"

    Updates spin button image

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC15backgroundImage4nameySSSg_tF":{"name":"backgroundImage(name:)","abstract":"

    Updates spin button background image

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC9configure4withyAA16SFWConfigurationV0dE11PreferencesVSg_tF":{"name":"configure(with:)","abstract":"

    Updates spin button background color and layer

    ","parent_name":"SpinButton"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC15setupAutoLayout4withyAA16SFWConfigurationV0deF11PreferencesVSg_tF":{"name":"setupAutoLayout(with:)","abstract":"

    Setups auto layouts with preferences

    ","parent_name":"PinImageView"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC5image4nameySSSg_tF":{"name":"image(name:)","abstract":"

    Updates pin image

    ","parent_name":"PinImageView"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC9configure4withyAA16SFWConfigurationV0deF11PreferencesVSg_tF":{"name":"configure(with:)","abstract":"

    Updates pin image view background color and layer

    ","parent_name":"PinImageView"},"Classes/NoClippingLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)NoClippingLayer(py)masksToBounds":{"name":"masksToBounds","abstract":"

    Undocumented

    ","parent_name":"NoClippingLayer"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC5group10animations8fillMode14forEffectLayer14sublayersCountSo16CAAnimationGroupCSgSaySo0N0CG_SSSgSbSitFZ":{"name":"group(animations:fillMode:forEffectLayer:sublayersCount:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11maxDuration12ofAnimationsSdSaySo11CAAnimationCG_tFZ":{"name":"maxDuration(ofAnimations:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11maxDuration17ofEffectAnimation14sublayersCountSdSo11CAAnimationC_SitFZ":{"name":"maxDuration(ofEffectAnimation:sublayersCount:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC25updateValueFromAnimations9forLayersySaySo7CALayerCG_tFZ":{"name":"updateValueFromAnimations(forLayers:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11updateValue12forAnimation8theLayerySo11CAAnimationC_So7CALayerCtFZ":{"name":"updateValue(forAnimation:theLayer:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC32updateValueFromPresentationLayer12forAnimation03theI0ySo11CAAnimationCSg_So7CALayerCtFZ":{"name":"updateValueFromPresentationLayer(forAnimation:theLayer:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC15animationObjectAA0dE8Protocol_pSgvp":{"name":"animationObject","abstract":"

    Animation object

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC16completionBlocksSDySo11CAAnimationCySbcGvp":{"name":"completionBlocks","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC37updateLayerValueForCompletedAnimationSbvp":{"name":"updateLayerValueForCompletedAnimation","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC23currentRotationPosition12CoreGraphics7CGFloatVSgvp":{"name":"currentRotationPosition","abstract":"

    Current rotation position used to know where is last time rotation stopped

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC23rotationDirectionOffset12CoreGraphics7CGFloatVvp":{"name":"rotationDirectionOffset","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC19withObjectToAnimateAcA0dE8Protocol_p_tcfc":{"name":"init(withObjectToAnimate:)","abstract":"

    Initialize spinning wheel animator

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC30addIndefiniteRotationAnimation12rotationTime04fullH5CountySd_12CoreGraphics7CGFloatVtF":{"name":"addIndefiniteRotationAnimation(rotationTime:fullRotationCount:)","abstract":"

    Start indefinite rotation animation

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC20addRotationAnimation24fullRotationsUntilFinish17animationDuration14rotationOffset15completionBlockySi_Sd12CoreGraphics7CGFloatVySbcSgtF":{"name":"addRotationAnimation(fullRotationsUntilFinish:animationDuration:rotationOffset:completionBlock:)","abstract":"

    Start rotation animation

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/c:@M@SwiftFortuneWheel@objc(cs)SpinningWheelAnimator(im)animationDidStop:finished:":{"name":"animationDidStop(_:finished:)","abstract":"

    Animation did stop

    ","parent_name":"SpinningWheelAnimator"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC15onSpinButtonTapyycSgvp":{"name":"onSpinButtonTap","abstract":"

    Called when spin button tapped

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC13configurationAA16SFWConfigurationVSgvp":{"name":"configuration","abstract":"

    Customizable configuration.","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC5frame6slices13configurationABSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationVSgtcfc":{"name":"init(frame:slices:configuration:)","abstract":"

    Initiates without IB.

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@M@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/wantsDefaultClipping":{"name":"wantsDefaultClipping","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/pressesEnded(_:with:)":{"name":"pressesEnded(_:with:)","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/layout()":{"name":"layout()","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@M@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    Undocumented

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/alignmentRectInsets":{"name":"alignmentRectInsets","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14layerToAnimateAA18SpinningAnimatable_pSgvp":{"name":"layerToAnimate","abstract":"

    / Animation conformance

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6rotate7toIndex17animationDurationySi_SdtF":{"name":"rotate(toIndex:animationDuration:)","abstract":"

    Rotates to the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6rotate14rotationOffset17animationDurationy12CoreGraphics7CGFloatV_SdtF":{"name":"rotate(rotationOffset:animationDuration:)","abstract":"

    Rotates to the specified angle offset

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating14rotationOffset24fullRotationsUntilFinish17animationDuration_y12CoreGraphics7CGFloatV_SiSdySbcSgtF":{"name":"startAnimating(rotationOffset:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified rotation offset angle

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating11finishIndex24fullRotationsUntilFinish17animationDuration_ySi_SiSdySbcSgtF":{"name":"startAnimating(finishIndex:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating31indefiniteRotationTimeInSeconds11finishIndex_ySi_SiySbcSgtF":{"name":"startAnimating(indefiniteRotationTimeInSeconds:finishIndex:_:)","abstract":"

    Starts indefinite rotation and stops rotation at the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating12rotationTime019fullRotationCountIniG0ySd_12CoreGraphics7CGFloatVtF":{"name":"startAnimating(rotationTime:fullRotationCountInRotationTime:)","abstract":"

    Starts indefinite rotation animation

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC13stopAnimatingyyF":{"name":"stopAnimating()","abstract":"

    Stops all animations

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating11finishIndex14rotationOffset24fullRotationsUntilFinish17animationDuration_ySi_12CoreGraphics7CGFloatVSiSdySbcSgtF":{"name":"startAnimating(finishIndex:rotationOffset:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified index and rotation angle offset

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)pinImage":{"name":"pinImage","abstract":"

    Pin image name from assets catalog, sets image to the pinImageView

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isPinHidden":{"name":"isPinHidden","abstract":"

    is pinImageView hidden

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinImage":{"name":"spinImage","abstract":"

    Spin button image name from assets catalog, sets image to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinBackgroundImage":{"name":"spinBackgroundImage","abstract":"

    Spin button background image from assets catalog, sets background image to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinTitle":{"name":"spinTitle","abstract":"

    Spin button title text, sets title text to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isSpinHidden":{"name":"isSpinHidden","abstract":"

    Is spinButton hidden

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isSpinEnabled":{"name":"isSpinEnabled","abstract":"

    Is spinButton enabled

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html":{"name":"SwiftFortuneWheel","abstract":"

    Undocumented

    "},"Classes/SpinningWheelAnimator.html":{"name":"SpinningWheelAnimator","abstract":"

    Spinning wheel animator

    "},"Classes/TTUtils.html":{"name":"TTUtils","abstract":"

    Undocumented

    "},"Classes/NoClippingLayer.html":{"name":"NoClippingLayer","abstract":"

    Undocumented

    "},"Classes/PinImageView.html":{"name":"PinImageView","abstract":"

    Pin or anchor image view, that usually represents an arrow to point in selected slice.

    "},"Classes/SpinButton.html":{"name":"SpinButton","abstract":"

    Spin button located at the center of the fotune wheel view."},"Classes/WheelLayer.html":{"name":"WheelLayer","abstract":"

    Wheel layer

    "},"Classes/WheelView.html":{"name":"WheelView","abstract":"

    Wheel view with slices.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Functions.html":{"name":"Functions","abstract":"

    The following functions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structures","abstract":"

    The following structures are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/undocumented.json b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/undocumented.json index 4eaca14..f1f2777 100644 --- a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/undocumented.json +++ b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/Documents/undocumented.json @@ -2,84 +2,91 @@ "warnings": [ { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/LinePreferences.swift", - "line": 38, + "line": 43, "symbol": "LinePreferences.strokeColor(for:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 261, + "line": 74, + "symbol": "SFWConfiguration.WheelPreferences.layerInsetsWithCircleWidth", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", + "line": 254, "symbol": "SFWConfiguration.Position.top", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 262, + "line": 255, "symbol": "SFWConfiguration.Position.bottom", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 263, + "line": 256, "symbol": "SFWConfiguration.Position.left", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 264, + "line": 257, "symbol": "SFWConfiguration.Position.right", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 331, + "line": 324, "symbol": "SFWConfiguration.ColorType.evenOddColors(evenColor:oddColor:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 332, + "line": 325, "symbol": "SFWConfiguration.ColorType.customPatternColors(colors:defaultColor:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/TextPreferences.swift", - "line": 90, + "line": 70, "symbol": "TextPreferences.Orientation.horizontal", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/TextPreferences.swift", - "line": 91, + "line": 71, "symbol": "TextPreferences.Orientation.vertical", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/TextPreferences.swift", - "line": 98, + "line": 78, "symbol": "TextPreferences.LineBreakMode.clip", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/TextPreferences.swift", - "line": 99, + "line": 79, "symbol": "TextPreferences.LineBreakMode.truncateTail", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/TextPreferences.swift", - "line": 100, + "line": 80, "symbol": "TextPreferences.LineBreakMode.wordWrap", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" @@ -91,90 +98,104 @@ "symbol_kind": "source.lang.swift.decl.function.subscript", "warning": "undocumented" }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Extensions/NSView+AnchorPoint.swift", + "line": 44, + "symbol": "UIView.setAnchorPoint(anchorPoint:)", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Models/Slice.swift", - "line": 33, + "line": 38, "symbol": "Slice.ContentType.assetImage(name:preferences:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Models/Slice.swift", - "line": 34, + "line": 39, "symbol": "Slice.ContentType.image(image:preferences:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Models/Slice.swift", - "line": 35, + "line": 40, "symbol": "Slice.ContentType.text(text:preferences:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Models/Slice.swift", - "line": 36, + "line": 41, "symbol": "Slice.ContentType.line(preferences:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/SwiftFortuneWheel.swift", - "line": 13, + "line": 17, "symbol": "SwiftFortuneWheel", "symbol_kind": "source.lang.swift.decl.class", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/SwiftFortuneWheel.swift", - "line": 143, - "symbol": "SwiftFortuneWheel.layoutSubviews()", + "line": 97, + "symbol": "SwiftFortuneWheel.init(coder:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/SwiftFortuneWheel.swift", - "line": 148, - "symbol": "SwiftFortuneWheel.init(coder:)", + "line": 197, + "symbol": "SwiftFortuneWheel.layoutSubviews()", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/SwiftFortuneWheel.swift", - "line": 165, + "line": 220, "symbol": "SwiftFortuneWheel", "symbol_kind": "source.lang.swift.decl.extension", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/SwiftFortuneWheel.swift", - "line": 167, + "line": 222, "symbol": "SwiftFortuneWheel", "symbol_kind": "source.lang.swift.decl.extension", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/SwiftFortuneWheel.swift", - "line": 282, + "line": 341, "symbol": "SwiftFortuneWheel", "symbol_kind": "source.lang.swift.decl.extension", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Utils/Animation/SpinningWheelAnimator.swift", - "line": 26, + "line": 31, "symbol": "SpinningWheelAnimator.completionBlocks", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Utils/Animation/SpinningWheelAnimator.swift", - "line": 27, + "line": 32, "symbol": "SpinningWheelAnimator.updateLayerValueForCompletedAnimation", "symbol_kind": "source.lang.swift.decl.var.instance", "warning": "undocumented" }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Utils/Animation/SpinningWheelAnimator.swift", + "line": 37, + "symbol": "SpinningWheelAnimator.rotationDirectionOffset", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Utils/Animation/TTUtils.swift", "line": 17, @@ -233,59 +254,143 @@ }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Utils/Drawing/CurveTextDrawing.swift", - "line": 16, + "line": 21, "symbol": "CurveTextDrawing.centreArcPerpendicular(text:context:radius:angle:colour:font:clockwise:preferedSize:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Utils/Drawing/CurveTextDrawing.swift", - "line": 61, + "line": 66, "symbol": "CurveTextDrawing.chordToArc(_:radius:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Utils/Drawing/CurveTextDrawing.swift", - "line": 68, + "line": 73, "symbol": "CurveTextDrawing.centre(text:context:radius:angle:colour:font:slantAngle:preferedWidth:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Views/NoClippingLayer.swift", + "line": 17, + "symbol": "NoClippingLayer", + "symbol_kind": "source.lang.swift.decl.class", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Views/NoClippingLayer.swift", + "line": 18, + "symbol": "NoClippingLayer.masksToBounds", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Views/WheelLayer.swift", - "line": 41, + "line": 52, "symbol": "WheelLayer.init(layer:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Views/WheelLayer.swift", - "line": 45, + "line": 56, "symbol": "WheelLayer.init(coder:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Views/WheelLayer.swift", - "line": 50, + "line": 61, "symbol": "WheelLayer.draw(in:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Views/WheelLayer.swift", + "line": 69, + "symbol": "WheelLayer.masksToBounds", + "symbol_kind": "source.lang.swift.decl.var.instance", + "warning": "undocumented" + }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Views/WheelView.swift", - "line": 46, + "line": 57, "symbol": "WheelView.init(coder:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Views/WheelView.swift", - "line": 50, + "line": 70, + "symbol": "WheelView.layoutSubviews()", + "symbol_kind": "source.lang.swift.decl.function.method.instance", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Views/WheelView.swift", + "line": 76, "symbol": "WheelView.draw(_:)", "symbol_kind": "source.lang.swift.decl.function.method.instance", "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/macOSPort.swift", + "line": 16, + "symbol": "SFWImage", + "symbol_kind": "source.lang.swift.decl.extension", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/macOSPort.swift", + "line": 17, + "symbol": "SFWColor", + "symbol_kind": "source.lang.swift.decl.extension", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/macOSPort.swift", + "line": 17, + "symbol": "SFWFont", + "symbol_kind": "source.lang.swift.decl.extension", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/macOSPort.swift", + "line": 28, + "symbol": "SFWControl", + "symbol_kind": "source.lang.swift.decl.typealias", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/macOSPort.swift", + "line": 29, + "symbol": "SFWColor", + "symbol_kind": "source.lang.swift.decl.typealias", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/macOSPort.swift", + "line": 30, + "symbol": "SFWImage", + "symbol_kind": "source.lang.swift.decl.typealias", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/macOSPort.swift", + "line": 31, + "symbol": "SFWFont", + "symbol_kind": "source.lang.swift.decl.typealias", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/macOSPort.swift", + "line": 32, + "symbol": "SFWEdgeInsets", + "symbol_kind": "source.lang.swift.decl.typealias", + "warning": "undocumented" } ], "source_directory": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel" diff --git a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/docSet.dsidx b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/docSet.dsidx index 4de4135..1f8e252 100644 Binary files a/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/docSet.dsidx and b/docs/docsets/SwiftFortuneWheel.docset/Contents/Resources/docSet.dsidx differ diff --git a/docs/docsets/SwiftFortuneWheel.tgz b/docs/docsets/SwiftFortuneWheel.tgz index 59c62a8..0daa53b 100644 Binary files a/docs/docsets/SwiftFortuneWheel.tgz and b/docs/docsets/SwiftFortuneWheel.tgz differ diff --git a/docs/index.html b/docs/index.html index ae57e31..1c56b72 100644 --- a/docs/index.html +++ b/docs/index.html @@ -13,7 +13,7 @@
    -

    SwiftFortuneWheel 1.1.0 Docs (80% documented)

    +

    SwiftFortuneWheel 1.1.0 Docs (79% documented)

    @@ -193,6 +193,9 @@ + @@ -291,6 +294,10 @@ Adaptive text size with support multiline, alignment and line break mode + +Supports background Image for each Slice (sector) + + 🧮 Supports vertical and horizontal text orientation @@ -300,7 +307,11 @@ 🎨 -Drawn and animated using CoreGraphics +High performance, low memory usage + + +🎨 +Drawn and animated using CoreGraphics, CoreAnimations 🚀 @@ -323,22 +334,46 @@

    Dynamic Content an

    Taken from example projects

    -

    Getting Started

    +

    Screenshots

    + +
    + from iOS Example Project + +
    + +
    + +
    + from macOS Example Project + +
    + +
    + +
    + from tvOS Example Project + +
    + +
    +

    Documentation

    -

    Installation

    When you are ready to install, follow the Installation Guide.

    -

    Documentation

    +

    API Documentation

    + +

    You can find the docs here.

    -

    You can find the docs here. Documentation is generated with jazzy and hosted on GitHub-Pages.

    +

    Documentation is generated with jazzy and hosted on GitHub-Pages.

    Requirements

    @@ -372,7 +407,7 @@

    Contributing

    Migration

    Changelog

    @@ -388,7 +423,7 @@

    License

    diff --git a/docs/search.json b/docs/search.json index 765c69c..c4fed22 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -{"Typealiases.html#/s:17SwiftFortuneWheel8SFWColora":{"name":"SFWColor","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel7SFWFonta":{"name":"SFWFont","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel8SFWImagea":{"name":"SFWImage","abstract":"

    Undocumented

    "},"Typealiases.html#/UIView":{"name":"UIView"},"Typealiases.html#/UIImageView":{"name":"UIImageView"},"Typealiases.html#/UIButton":{"name":"UIButton"},"Typealiases.html#/UIBezierPath":{"name":"UIBezierPath"},"Typealiases.html#/UIScreen":{"name":"UIScreen"},"Typealiases.html#/SFWControl":{"name":"SFWControl"},"Typealiases.html#/SFWColor":{"name":"SFWColor"},"Typealiases.html#/SFWImage":{"name":"SFWImage"},"Typealiases.html#/SFWFont":{"name":"SFWFont"},"Typealiases.html#/SFWEdgeInsets":{"name":"SFWEdgeInsets"},"Typealiases.html#/s:17SwiftFortuneWheel10SFWControla":{"name":"SFWControl","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel13SFWEdgeInsetsa":{"name":"SFWEdgeInsets","abstract":"

    Undocumented

    "},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV12flipRotation12CoreGraphics7CGFloatVvpZ":{"name":"flipRotation","abstract":"

    Flip rotation

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV5torady12CoreGraphics7CGFloatVAGFZ":{"name":"torad(_:)","abstract":"

    to rad.

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV21circularSegmentHeight6radius4from12CoreGraphics7CGFloatVAI_AItFZ":{"name":"circularSegmentHeight(radius:from:)","abstract":"

    Circular segment height for radius and degree

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV6radius21circularSegmentHeight4from12CoreGraphics7CGFloatVAI_AItFZ":{"name":"radius(circularSegmentHeight:from:)","abstract":"

    Radius calculation

    ","parent_name":"Calc"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO10assetImageyAESS_AA0H11PreferencesVtcAEmF":{"name":"assetImage(name:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO5imageyAESo7UIImageC_AA16ImagePreferencesVtcAEmF":{"name":"image(image:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO4textyAESS_AA15TextPreferencesVtcAEmF":{"name":"text(text:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO4lineyAeA15LinePreferencesV_tcAEmF":{"name":"line(preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV8contentsSayAC11ContentTypeOGvp":{"name":"contents","abstract":"

    Contents in vertical align order

    ","parent_name":"Slice"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV15backgroundColorSo7UIColorCSgvp":{"name":"backgroundColor","abstract":"

    Background color, optional

    ","parent_name":"Slice"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV8contents15backgroundColorACSayAC11ContentTypeOG_So7UIColorCSgtcfc":{"name":"init(contents:backgroundColor:)","abstract":"

    Initiates a slice object

    ","parent_name":"Slice"},"Structs/Slice/ContentType.html":{"name":"ContentType","abstract":"

    Slice content type, currently image or text

    ","parent_name":"Slice"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO4clipyA2EmF":{"name":"clip","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO12truncateTailyA2EmF":{"name":"truncateTail","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO8wordWrapyA2EmF":{"name":"wordWrap","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO06systemfgH0So06NSLinegH0Vvp":{"name":"systemLineBreakMode","abstract":"

    NSLineBreakMode

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/Orientation.html#/s:17SwiftFortuneWheel15TextPreferencesV11OrientationO10horizontalyA2EmF":{"name":"horizontal","abstract":"

    Undocumented

    ","parent_name":"Orientation"},"Structs/TextPreferences/Orientation.html#/s:17SwiftFortuneWheel15TextPreferencesV11OrientationO8verticalyA2EmF":{"name":"vertical","abstract":"

    Undocumented

    ","parent_name":"Orientation"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV4fontSo6UIFontCvp":{"name":"font","abstract":"

    Text font

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13textColorTypeAA16SFWConfigurationV0gH0Ovp":{"name":"textColorType","abstract":"

    Text color type

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset in slice from the center, default value is 0

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14flipUpsideDownSbvp":{"name":"flipUpsideDown","abstract":"

    Flip the text upside down, default value is true

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV8isCurvedSbvp":{"name":"isCurved","abstract":"

    Is text curved or not, works only with orientation equal to horizontal, default value is true

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV11orientationAC11OrientationOvp":{"name":"orientation","abstract":"

    Text orientation, default value is .horizontal

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13lineBreakModeAC04LinegH0Ovp":{"name":"lineBreakMode","abstract":"

    The technique to use for wrapping and truncating the label’s text, default value is .clip

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13numberOfLinesSivp":{"name":"numberOfLines","abstract":"

    The maximum number of lines to use for rendering text., default valie is 1

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV7spacing12CoreGraphics7CGFloatVvp":{"name":"spacing","abstract":"

    Spacing between lines, default value is 3

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV9alignmentSo15NSTextAlignmentVvp":{"name":"alignment","abstract":"

    The technique to use for aligning the text, default value is .left

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13textColorType4font14verticalOffsetAcA16SFWConfigurationV0gH0O_So6UIFontC12CoreGraphics7CGFloatVtcfc":{"name":"init(textColorType:font:verticalOffset:)","abstract":"

    Initiates a text preferences

    ","parent_name":"TextPreferences"},"Structs/TextPreferences/Orientation.html":{"name":"Orientation","abstract":"

    Text orientation, horizontal or vertical

    ","parent_name":"TextPreferences"},"Structs/TextPreferences/LineBreakMode.html":{"name":"LineBreakMode","abstract":"

    The technique to use for wrapping and truncating the label’s text

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV5color3forSo7UIColorCSi_tF":{"name":"color(for:)","abstract":"

    Creates a color for text, relative to slice index position

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14textAttributes3forSDySo21NSAttributedStringKeyaypGSi_tF":{"name":"textAttributes(for:)","abstract":"

    Creates text attributes, relative to slice index position

    ","parent_name":"TextPreferences"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size, required

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9imageNameSSvp":{"name":"imageName","abstract":"

    Image name from assets catalog

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV20rotationDegreeOffset12CoreGraphics7CGFloatVvp":{"name":"rotationDegreeOffset","abstract":"

    Rotation degree offset, default value is 0

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9imageName4size14verticalOffsetAESS_So6CGSizeV12CoreGraphics7CGFloatVtcfc":{"name":"init(imageName:size:verticalOffset:)","abstract":"

    Initiates a anchor image object

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/ColorType.html#/s:17SwiftFortuneWheel16SFWConfigurationV9ColorTypeO13evenOddColorsyAESo7UIColorC_AHtcAEmF":{"name":"evenOddColors(evenColor:oddColor:)","abstract":"

    Undocumented

    ","parent_name":"ColorType"},"Structs/SFWConfiguration/ColorType.html#/s:17SwiftFortuneWheel16SFWConfigurationV9ColorTypeO19customPatternColorsyAESaySo7UIColorCGSg_AHtcAEmF":{"name":"customPatternColors(colors:defaultColor:)","abstract":"

    Undocumented

    ","parent_name":"ColorType"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV4left12CoreGraphics7CGFloatVvp":{"name":"left","abstract":"

    Left margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV5right12CoreGraphics7CGFloatVvp":{"name":"right","abstract":"

    Right margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV3top12CoreGraphics7CGFloatVvp":{"name":"top","abstract":"

    Top margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV6bottom12CoreGraphics7CGFloatVvp":{"name":"bottom","abstract":"

    Bottom margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsVAEycfc":{"name":"init()","abstract":"

    Initiates a margins with default values:","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV3top4left5right6bottomAE12CoreGraphics7CGFloatV_A3Ltcfc":{"name":"init(top:left:right:bottom:)","abstract":"

    Initiates a margins

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO3topyA2EmF":{"name":"top","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO6bottomyA2EmF":{"name":"bottom","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO4leftyA2EmF":{"name":"left","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO5rightyA2EmF":{"name":"right","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO16startAngleOffset12CoreGraphics7CGFloatVvp":{"name":"startAngleOffset","abstract":"

    Start position angle offset in degree.","parent_name":"Position"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV8positionAC8PositionOvp":{"name":"position","abstract":"

    Position

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV15backgroundColorSo7UIColorCvp":{"name":"backgroundColor","abstract":"

    Background color, default value is .clear

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV4size8position16horizontalOffset08verticalL0AESo6CGSizeV_AC8PositionO12CoreGraphics7CGFloatVAPtcfc":{"name":"init(size:position:horizontalOffset:verticalOffset:)","abstract":"

    Initiates a pin image view preferences

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV12cornerRadius12CoreGraphics7CGFloatVvp":{"name":"cornerRadius","abstract":"

    Corner radius, default value is 0

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV11cornerWidth12CoreGraphics7CGFloatVvp":{"name":"cornerWidth","abstract":"

    Corner width, default value is 0

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV11cornerColorSo7UIColorCvp":{"name":"cornerColor","abstract":"

    Corner color, default value is .clear

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV15backgroundColorSo7UIColorCvp":{"name":"backgroundColor","abstract":"

    Background color, default value is .clear

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV9textColorSo7UIColorCvp":{"name":"textColor","abstract":"

    Text Color, default value is .black

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV17disabledTextColorSo7UIColorCvp":{"name":"disabledTextColor","abstract":"

    Disabled text color, default value is .black

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4fontSo6UIFontCvp":{"name":"font","abstract":"

    Font, default value is .systemFont(ofSize: 16, weight: .semibold)

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4size16horizontalOffset08verticalJ0AESo6CGSizeV_12CoreGraphics7CGFloatVAMtcfc":{"name":"init(size:horizontalOffset:verticalOffset:)","abstract":"

    Initiates a spin button preferences

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV14textAttributesSDySo21NSAttributedStringKeyaypGvp":{"name":"textAttributes","abstract":"

    Creates text attributes, relative to slice index position

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV19backgroundColorTypeAC0hI0Ovp":{"name":"backgroundColorType","abstract":"

    Background color type

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV11strokeWidth12CoreGraphics7CGFloatVvp":{"name":"strokeWidth","abstract":"

    Stroke width

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV11strokeColorSo7UIColorCvp":{"name":"strokeColor","abstract":"

    Stroke color

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV19backgroundColorType11strokeWidth0jH0AeC0hI0O_12CoreGraphics7CGFloatVSo7UIColorCtcfc":{"name":"init(backgroundColorType:strokeWidth:strokeColor:)","abstract":"

    Initiates a slice preferences

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeWidth12CoreGraphics7CGFloatVvp":{"name":"strokeWidth","abstract":"

    Stroke width

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeColorSo7UIColorCvp":{"name":"strokeColor","abstract":"

    Stroke color

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeWidth0G5ColorAE12CoreGraphics7CGFloatV_So7UIColorCtcfc":{"name":"init(strokeWidth:strokeColor:)","abstract":"

    Initiates a circle preferences

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV06circleE0AC06CircleE0Vvp":{"name":"circlePreferences","abstract":"

    Circle preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV05sliceE0AC05SliceE0Vvp":{"name":"slicePreferences","abstract":"

    Slice preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV13startPositionAC0G0Ovp":{"name":"startPosition","abstract":"

    Start position, should be equal to FortuneWheelConfiguration.pinPreferences.position

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV11layerInsetsSo06UIEdgeG0Vvp":{"name":"layerInsets","abstract":"

    Layer insets, used to center the drawing such that offseted graphics(e.g Shadows, Outer Glows) are not clipped.","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV14contentMarginsAC0G0Vvp":{"name":"contentMargins","abstract":"

    Margins for content inside a slide

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV11imageAnchorAC0G5ImageVSgvp":{"name":"imageAnchor","abstract":"

    Image anchor for each slice, located at the wheel’s border, optional

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV17centerImageAnchorAC0hG0VSgvp":{"name":"centerImageAnchor","abstract":"

    Image anchor for each slice, located at the center of wheel’s border, optional

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV26layerInsetsWithCircleWidthSo06UIEdgeG0Vvp":{"name":"layerInsetsWithCircleWidth","abstract":"

    Undocumented

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV06circleE005sliceE013startPositionAeC06CircleE0V_AC05SliceE0VAC0I0Otcfc":{"name":"init(circlePreferences:slicePreferences:startPosition:)","abstract":"

    Initiates a wheel preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV21spinButtonPreferencesAC04SpinfG0VSgvp":{"name":"spinButtonPreferences","abstract":"

    Spin button preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV14pinPreferencesAC012PinImageViewF0VSgvp":{"name":"pinPreferences","abstract":"

    Pin (arrow) view preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV16wheelPreferencesAC0cF0Vvp":{"name":"wheelPreferences","abstract":"

    Wheel preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/alignmentRectInsets":{"name":"alignmentRectInsets","abstract":"

    Used to expand the clipping area

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV16wheelPreferences03pinF0010spinButtonF0A2C0cF0V_AC012PinImageViewF0VSgAC04SpiniF0VSgtcfc":{"name":"init(wheelPreferences:pinPreferences:spinButtonPreferences:)","abstract":"

    Initiates a configuration

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/WheelPreferences.html":{"name":"WheelPreferences","abstract":"

    Wheel preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/CirclePreferences.html":{"name":"CirclePreferences","abstract":"

    Circle preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/SlicePreferences.html":{"name":"SlicePreferences","abstract":"

    Slice preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/SpinButtonPreferences.html":{"name":"SpinButtonPreferences","abstract":"

    Spin button preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/PinImageViewPreferences.html":{"name":"PinImageViewPreferences","abstract":"

    Pin image view preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/Position.html":{"name":"Position","abstract":"

    Position, pin or start position

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/Margins.html":{"name":"Margins","abstract":"

    Margins

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/ColorType.html":{"name":"ColorType","abstract":"

    Color type, used to color the item with the particularized pattern.","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/AnchorImage.html":{"name":"AnchorImage","abstract":"

    Anchor image used to add images around the wheel for each slice

    ","parent_name":"SFWConfiguration"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV6height12CoreGraphics7CGFloatVvp":{"name":"height","abstract":"

    Stroke height, default value is 1

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV9colorTypeAA16SFWConfigurationV05ColorG0Ovp":{"name":"colorType","abstract":"

    Stroke color type

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV9colorType6height14verticalOffsetAcA16SFWConfigurationV05ColorG0O_12CoreGraphics7CGFloatVAMtcfc":{"name":"init(colorType:height:verticalOffset:)","abstract":"

    Initiates a line preferences

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV11strokeColor3forSo7UIColorCSi_tF":{"name":"strokeColor(for:)","abstract":"

    Undocumented

    ","parent_name":"LinePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV13preferredSizeSo6CGSizeVvp":{"name":"preferredSize","abstract":"

    Prefered image size, required

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset in slice from the center, default value is 0

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV14flipUpsideDownSbvp":{"name":"flipUpsideDown","abstract":"

    Flip the text upside down, default value is false

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV15backgroundColorSo7UIColorCSgvp":{"name":"backgroundColor","abstract":"

    Background color, optional

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV13preferredSize14verticalOffsetACSo6CGSizeV_12CoreGraphics7CGFloatVtcfc":{"name":"init(preferredSize:verticalOffset:)","abstract":"

    Initiates a image preferences

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html":{"name":"ImagePreferences","abstract":"

    Image preferences

    "},"Structs/LinePreferences.html":{"name":"LinePreferences","abstract":"

    Line Preferences

    "},"Structs/SFWConfiguration.html":{"name":"SFWConfiguration","abstract":"

    Configuration, contains preferences to configure a fortune wheel

    "},"Structs/TextPreferences.html":{"name":"TextPreferences","abstract":"

    Text preferemces

    "},"Structs/Slice.html":{"name":"Slice","abstract":"

    Slice object that will be drawn as a custom content

    "},"Structs/Calc.html":{"name":"Calc","abstract":"

    Undocumented

    "},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE10drawCurved4text2in11preferences8rotation5index9topOffset6radius11sliceDegree025contextPositionCorrectionnQ07margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAQSiA4qA16SFWConfigurationV7MarginsVtF":{"name":"drawCurved(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:contextPositionCorrectionOffsetDegree:margins:)","abstract":"

    Draws curved text

    ","parent_name":"TextDrawing"},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE14drawHorizontal4text2in11preferences8rotation5index9topOffset6radius11sliceDegree7margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAPSiA3pA16SFWConfigurationV7MarginsVtF":{"name":"drawHorizontal(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:margins:)","abstract":"

    Draws text

    ","parent_name":"TextDrawing"},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE12drawVertical4text2in11preferences8rotation5index9topOffset6radius11sliceDegree7margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAPSiA3pA16SFWConfigurationV7MarginsVtF":{"name":"drawVertical(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:margins:)","abstract":"

    Draws text

    ","parent_name":"TextDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE21circularSegmentHeight12CoreGraphics7CGFloatVvp":{"name":"circularSegmentHeight","abstract":"

    Circular segment height

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE7marginsAA16SFWConfigurationV7MarginsVvp":{"name":"margins","abstract":"

    Content margins

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE37contextPositionCorrectionOffsetDegree12CoreGraphics7CGFloatVvp":{"name":"contextPositionCorrectionOffsetDegree","abstract":"

    Context position correction offset degree

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE04drawD09withIndex2in03forD08rotation5start3endySi_So12CGContextRefaAA0D0V12CoreGraphics7CGFloatVA2QtF":{"name":"drawSlice(withIndex:in:forSlice:rotation:start:end:)","abstract":"

    Draw slice with content

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE11prepareDraw4text2in11preferences8rotation5index9topOffset12CoreGraphics7CGFloatVSS_So12CGContextRefaAA15TextPreferencesVAMSiAMtF":{"name":"prepareDraw(text:in:preferences:rotation:index:topOffset:)","abstract":"

    Prepare to draw text

    ","parent_name":"SliceDrawing"},"Protocols/ShapeDrawing.html#/s:17SwiftFortuneWheel12ShapeDrawingPAAE13drawRectangle2in8rotation6radiusySo12CGContextRefa_12CoreGraphics7CGFloatVALtF":{"name":"drawRectangle(in:rotation:radius:)","abstract":"

    Draws rectangle

    ","parent_name":"ShapeDrawing"},"Protocols/ShapeDrawing.html#/s:17SwiftFortuneWheel12ShapeDrawingPAAE8drawLine2in11preferences5start3and8rotation5index9topOffset6radius7margins025contextPositionCorrectionO6DegreeySo12CGContextRefa_AA0G11PreferencesV12CoreGraphics7CGFloatVA2USiA2uA16SFWConfigurationV7MarginsVAUtF":{"name":"drawLine(in:preferences:start:and:rotation:index:topOffset:radius:margins:contextPositionCorrectionOffsetDegree:)","abstract":"

    Draws curved line

    ","parent_name":"ShapeDrawing"},"Protocols/ImageDrawing.html#/s:17SwiftFortuneWheel12ImageDrawingPAAE04drawD02in5image11preferences8rotation5index9topOffset6radius7marginsySo12CGContextRefa_So7UIImageCAA0D11PreferencesV12CoreGraphics7CGFloatVSiA2uA16SFWConfigurationV7MarginsVtF":{"name":"drawImage(in:image:preferences:rotation:index:topOffset:radius:margins:)","abstract":"

    Draws image

    ","parent_name":"ImageDrawing"},"Protocols/ImageDrawing.html#/s:17SwiftFortuneWheel12ImageDrawingPAAE010drawAnchorD02in05imageG010isCentered8rotation5index6radius11sliceDegree0L6OffsetySo12CGContextRefa_AA16SFWConfigurationV0gD0VSb12CoreGraphics7CGFloatVSiA3UtF":{"name":"drawAnchorImage(in:imageAnchor:isCentered:rotation:index:radius:sliceDegree:rotationOffset:)","abstract":"

    Draws anchor image

    ","parent_name":"ImageDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE22centreArcPerpendicular4text7context6radius5angle6colour4font9clockwise12preferedSizeySS_So12CGContextRefa12CoreGraphics7CGFloatVAQSo7UIColorCSo6UIFontCSbSo6CGSizeVtF":{"name":"centreArcPerpendicular(text:context:radius:angle:colour:font:clockwise:preferedSize:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE10chordToArc_6radius12CoreGraphics7CGFloatVAH_AHtF":{"name":"chordToArc(_:radius:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE6centre4text7context6radius5angle6colour4font10slantAngle13preferedWidthySS_So12CGContextRefa12CoreGraphics7CGFloatVAQSo7UIColorCSo6UIFontCA2QtF":{"name":"centre(text:context:radius:angle:colour:font:slantAngle:preferedWidth:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP5frameSo6CGRectVvp":{"name":"frame","abstract":"

    Wheel frame

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP9mainFrameSo6CGRectVSgvp":{"name":"mainFrame","abstract":"

    Wheel main frame

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Wheel preferences

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE6radius12CoreGraphics7CGFloatVvp":{"name":"radius","abstract":"

    Radius

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE14rotationOffset12CoreGraphics7CGFloatVvp":{"name":"rotationOffset","abstract":"

    Rotation offset

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE21circularSegmentHeight4from12CoreGraphics7CGFloatVAH_tF":{"name":"circularSegmentHeight(from:)","abstract":"

    Circular segment height for degree

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE11updateSizes0F5FrameySb_tF":{"name":"updateSizes(updateFrame:)","abstract":"

    Updates frame sizes

    ","parent_name":"WheelMathCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingP6slicesSayAA0D0VGvp":{"name":"slices","abstract":"

    Slices

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE11sliceDegree12CoreGraphics7CGFloatVvp":{"name":"sliceDegree","abstract":"

    Slice degree

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE5theta12CoreGraphics7CGFloatVvp":{"name":"theta","abstract":"

    Theta

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE13computeRadian4from12CoreGraphics7CGFloatVSi_tF":{"name":"computeRadian(from:)","abstract":"

    Calculates radion for index

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE13segmentHeight6radius12CoreGraphics7CGFloatVAH_tF":{"name":"segmentHeight(radius:)","abstract":"

    Segment height

    ","parent_name":"SliceCalculating"},"Protocols/SpinningAnimatorProtocol.html#/s:17SwiftFortuneWheel24SpinningAnimatorProtocolP14layerToAnimateAA0D10Animatable_pSgvp":{"name":"layerToAnimate","abstract":"

    Layer that animates

    ","parent_name":"SpinningAnimatorProtocol"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE17updateLayerValues14forAnimationIdySS_tF":{"name":"updateLayerValues(forAnimationId:)","abstract":"

    Updates layer values

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE16removeAnimations14forAnimationIdySS_tF":{"name":"removeAnimations(forAnimationId:)","abstract":"

    Removes animations

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE25removeIndefiniteAnimationyyF":{"name":"removeIndefiniteAnimation()","abstract":"

    Removes indefinite animation

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html":{"name":"SpinningAnimatable","abstract":"

    Spinning animatable protocol

    "},"Protocols/SpinningAnimatorProtocol.html":{"name":"SpinningAnimatorProtocol","abstract":"

    Spinning animator protocol

    "},"Protocols/SliceCalculating.html":{"name":"SliceCalculating","abstract":"

    Slice calculation protocol

    "},"Protocols/WheelMathCalculating.html":{"name":"WheelMathCalculating","abstract":"

    Wheel other math calculation protocol

    "},"Protocols/CurveTextDrawing.html":{"name":"CurveTextDrawing","abstract":"

    Curved text drawing protocol

    "},"Protocols/ImageDrawing.html":{"name":"ImageDrawing","abstract":"

    Image drawing protocol

    "},"Protocols/ShapeDrawing.html":{"name":"ShapeDrawing","abstract":"

    Shape drawing protocol

    "},"Protocols/SliceDrawing.html":{"name":"SliceDrawing","abstract":"

    Slice drawing protocol

    "},"Protocols/TextDrawing.html":{"name":"TextDrawing","abstract":"

    Curved text drawing protocol

    "},"Functions.html#/UIGraphicsGetCurrentContext()":{"name":"UIGraphicsGetCurrentContext()"},"Functions.html#/UIGraphicsPushContext(_:)":{"name":"UIGraphicsPushContext(_:)"},"Functions.html#/UIGraphicsPopContext()":{"name":"UIGraphicsPopContext()"},"Extensions/NSBezierPath.html#/addArc(withCenter:radius:startAngle:endAngle:clockwise:)":{"name":"addArc(withCenter:radius:startAngle:endAngle:clockwise:)","parent_name":"NSBezierPath"},"Extensions/NSBezierPath.html#/addLine(to:)":{"name":"addLine(to:)","parent_name":"NSBezierPath"},"Extensions/CGRect.html#/inset(by:)":{"name":"inset(by:)","parent_name":"CGRect"},"Extensions/NSButton.html#/setImage(_:)":{"name":"setImage(_:)","parent_name":"NSButton"},"Extensions/NSButton.html#/setTitle(_:attributes:)":{"name":"setTitle(_:attributes:)","parent_name":"NSButton"},"Extensions/NSButton.html#/isUserInteractionEnabled":{"name":"isUserInteractionEnabled","parent_name":"NSButton"},"Extensions/NSImageView.html#/tintColor":{"name":"tintColor","parent_name":"NSImageView"},"Extensions/NSImage.html#/tint(color:)":{"name":"tint(color:)","parent_name":"NSImage"},"Extensions/NSFont.html#/lineHeight":{"name":"lineHeight","parent_name":"NSFont"},"Extensions/NSScreen.html#/scale":{"name":"scale","parent_name":"NSScreen"},"Extensions/SFWImage.html#/s:So7UIImageC17SwiftFortuneWheelE13withTintColoryABSo7UIColorCF":{"name":"withTintColor(_:)","abstract":"

    Tint the image with color

    ","parent_name":"SFWImage"},"Extensions/SFWFont.html#/s:So6UIFontC17SwiftFortuneWheelE12sizeOfString6string18constrainedToWidthSo6CGSizeVSS_12CoreGraphics7CGFloatVtF":{"name":"sizeOfString(string:constrainedToWidth:)","abstract":"

    Calculates size of string

    ","parent_name":"SFWFont"},"Extensions/SFWFont.html#/s:So6UIFontC17SwiftFortuneWheelE6number12ofCharacters7thatFit0E7OfLinesSiSS_12CoreGraphics7CGFloatVSitF":{"name":"number(ofCharacters:thatFit:numberOfLines:)","abstract":"

    Number of characters that fit witdh

    ","parent_name":"SFWFont"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE4crop2by4fontSS12CoreGraphics7CGFloatV_So6UIFontCtF":{"name":"crop(by:font:)","abstract":"

    Crops string by specified width and font

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE29replaceLastCharactersWithDots5countySi_tF":{"name":"replaceLastCharactersWithDots(count:)","abstract":"

    Replaces characters with dots at the end

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE10linesCount3for7spacingSiSo6UIFontC_12CoreGraphics7CGFloatVtF":{"name":"linesCount(for:spacing:)","abstract":"

    Сounts the right amount of lines for text

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE5split4font10lineWidths0F5Break0D9CharacterSaySSGSo6UIFontC_Say12CoreGraphics7CGFloatVGAA15TextPreferencesV04LineH4ModeOSStF":{"name":"split(font:lineWidths:lineBreak:splitCharacter:)","abstract":"

    Splits String to lines

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE5width2by12CoreGraphics7CGFloatVSo6UIFontC_tF":{"name":"width(by:)","abstract":"

    Avalilable width for text with specified font

    ","parent_name":"String"},"Extensions/UIView.html#/s:So6UIViewC17SwiftFortuneWheelE14setAnchorPoint06anchorG0ySo7CGPointV_tF":{"name":"setAnchorPoint(anchorPoint:)","abstract":"

    Undocumented

    ","parent_name":"UIView"},"Extensions/NSView.html#/setAnchorPoint(anchorPoint:)":{"name":"setAnchorPoint(anchorPoint:)","parent_name":"NSView"},"Extensions/NSView.html#/backgroundColor":{"name":"backgroundColor","parent_name":"NSView"},"Extensions/NSView.html#/layoutIfNeeded()":{"name":"layoutIfNeeded()","parent_name":"NSView"},"Extensions/SFWColor.html#/s:So7UIColorC17SwiftFortuneWheelE6randomABvpZ":{"name":"random","abstract":"

    Random color

    ","parent_name":"SFWColor"},"Extensions/CGSize.html#/s:So6CGSizeV17SwiftFortuneWheelE9aspectFit9sizeImageSo6CGRectVAB_tF":{"name":"aspectFit(sizeImage:)","abstract":"

    Calculates aspect fit size for image

    ","parent_name":"CGSize"},"Extensions/Array.html#/s:Sa17SwiftFortuneWheelE_7defaultxSi_xyXKtcip":{"name":"subscript(_:default:)","abstract":"

    Undocumented

    ","parent_name":"Array"},"Extensions/Array.html":{"name":"Array"},"Extensions/CGSize.html":{"name":"CGSize"},"Extensions/SFWColor.html":{"name":"SFWColor","abstract":"

    Undocumented

    "},"Extensions/NSView.html":{"name":"NSView"},"Extensions/UIView.html":{"name":"UIView"},"Extensions/String.html":{"name":"String"},"Extensions/SFWFont.html":{"name":"SFWFont","abstract":"

    Undocumented

    "},"Extensions/SFWImage.html":{"name":"SFWImage","abstract":"

    Undocumented

    "},"Extensions/NSScreen.html":{"name":"NSScreen"},"Extensions/NSFont.html":{"name":"NSFont"},"Extensions/NSImage.html":{"name":"NSImage"},"Extensions/NSImageView.html":{"name":"NSImageView"},"Extensions/NSButton.html":{"name":"NSButton"},"Extensions/CGRect.html":{"name":"CGRect"},"Extensions/NSBezierPath.html":{"name":"NSBezierPath"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC10wheelLayerAA0cF0CSgvp":{"name":"wheelLayer","abstract":"

    Wheel layer

    ","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Customizable preferences.","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC5frame6slices11preferencesACSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationV0C11PreferencesVSgtcfc":{"name":"init(frame:slices:preferences:)","abstract":"

    Initiates without IB.

    ","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/layout()":{"name":"layout()","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)drawRect:":{"name":"draw(_:)","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/wantsDefaultClipping":{"name":"wantsDefaultClipping","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC15setupAutoLayoutyyF":{"name":"setupAutoLayout()","abstract":"

    Setups auto layouts

    ","parent_name":"WheelView"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Customizable preferences.","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC9mainFrameSo6CGRectVSgvp":{"name":"mainFrame","abstract":"

    Main frame with inserts.

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC5frame6slices11preferencesACSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationV0C11PreferencesVSgtcfc":{"name":"init(frame:slices:preferences:)","abstract":"

    Initiates without IB.

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)initWithLayer:":{"name":"init(layer:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)drawInContext:":{"name":"draw(in:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(py)masksToBounds":{"name":"masksToBounds","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC10drawCanvas4withySo6CGRectV_tF":{"name":"drawCanvas(with:)","abstract":"

    Draws the wheel with slices in canvas

    ","parent_name":"WheelLayer"},"Classes/SpinButton.html#/init(frame:)":{"name":"init(frame:)","parent_name":"SpinButton"},"Classes/SpinButton.html#/init(coder:)":{"name":"init(coder:)","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC15setupAutoLayout4withyAA16SFWConfigurationV0dE11PreferencesVSg_tF":{"name":"setupAutoLayout(with:)","abstract":"

    Setups auto layouts with preferences

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC5image4nameySSSg_tF":{"name":"image(name:)","abstract":"

    Updates spin button image

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC15backgroundImage4nameySSSg_tF":{"name":"backgroundImage(name:)","abstract":"

    Updates spin button background image

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC9configure4withyAA16SFWConfigurationV0dE11PreferencesVSg_tF":{"name":"configure(with:)","abstract":"

    Updates spin button background color and layer

    ","parent_name":"SpinButton"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC15setupAutoLayout4withyAA16SFWConfigurationV0deF11PreferencesVSg_tF":{"name":"setupAutoLayout(with:)","abstract":"

    Setups auto layouts with preferences

    ","parent_name":"PinImageView"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC5image4nameySSSg_tF":{"name":"image(name:)","abstract":"

    Updates pin image

    ","parent_name":"PinImageView"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC9configure4withyAA16SFWConfigurationV0deF11PreferencesVSg_tF":{"name":"configure(with:)","abstract":"

    Updates pin image view background color and layer

    ","parent_name":"PinImageView"},"Classes/NoClippingLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)NoClippingLayer(py)masksToBounds":{"name":"masksToBounds","abstract":"

    Undocumented

    ","parent_name":"NoClippingLayer"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC5group10animations8fillMode14forEffectLayer14sublayersCountSo16CAAnimationGroupCSgSaySo0N0CG_SSSgSbSitFZ":{"name":"group(animations:fillMode:forEffectLayer:sublayersCount:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11maxDuration12ofAnimationsSdSaySo11CAAnimationCG_tFZ":{"name":"maxDuration(ofAnimations:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11maxDuration17ofEffectAnimation14sublayersCountSdSo11CAAnimationC_SitFZ":{"name":"maxDuration(ofEffectAnimation:sublayersCount:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC25updateValueFromAnimations9forLayersySaySo7CALayerCG_tFZ":{"name":"updateValueFromAnimations(forLayers:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11updateValue12forAnimation8theLayerySo11CAAnimationC_So7CALayerCtFZ":{"name":"updateValue(forAnimation:theLayer:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC32updateValueFromPresentationLayer12forAnimation03theI0ySo11CAAnimationCSg_So7CALayerCtFZ":{"name":"updateValueFromPresentationLayer(forAnimation:theLayer:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC15animationObjectAA0dE8Protocol_pSgvp":{"name":"animationObject","abstract":"

    Animation object

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC16completionBlocksSDySo11CAAnimationCySbcGvp":{"name":"completionBlocks","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC37updateLayerValueForCompletedAnimationSbvp":{"name":"updateLayerValueForCompletedAnimation","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC23currentRotationPosition12CoreGraphics7CGFloatVSgvp":{"name":"currentRotationPosition","abstract":"

    Current rotation position used to know where is last time rotation stopped

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC23rotationDirectionOffset12CoreGraphics7CGFloatVvp":{"name":"rotationDirectionOffset","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC19withObjectToAnimateAcA0dE8Protocol_p_tcfc":{"name":"init(withObjectToAnimate:)","abstract":"

    Initialize spinning wheel animator

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC30addIndefiniteRotationAnimation12rotationTimeySd_tF":{"name":"addIndefiniteRotationAnimation(rotationTime:)","abstract":"

    Start indefinite rotation animation

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC20addRotationAnimation24fullRotationsUntilFinish17animationDuration14rotationOffset15completionBlockySi_Sd12CoreGraphics7CGFloatVySbcSgtF":{"name":"addRotationAnimation(fullRotationsUntilFinish:animationDuration:rotationOffset:completionBlock:)","abstract":"

    Start rotation animation

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/c:@M@SwiftFortuneWheel@objc(cs)SpinningWheelAnimator(im)animationDidStop:finished:":{"name":"animationDidStop(_:finished:)","abstract":"

    Animation did stop

    ","parent_name":"SpinningWheelAnimator"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC15onSpinButtonTapyycSgvp":{"name":"onSpinButtonTap","abstract":"

    Called when spin button tapped

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC13configurationAA16SFWConfigurationVSgvp":{"name":"configuration","abstract":"

    Customizable configuration.","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC5frame6slices13configurationABSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationVSgtcfc":{"name":"init(frame:slices:configuration:)","abstract":"

    Initiates without IB.

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@M@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/wantsDefaultClipping":{"name":"wantsDefaultClipping","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/pressesEnded(_:with:)":{"name":"pressesEnded(_:with:)","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/layout()":{"name":"layout()","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@M@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    Undocumented

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/alignmentRectInsets":{"name":"alignmentRectInsets","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14layerToAnimateAA18SpinningAnimatable_pSgvp":{"name":"layerToAnimate","abstract":"

    / Animation conformance

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6rotate7toIndex17animationDurationySi_SdtF":{"name":"rotate(toIndex:animationDuration:)","abstract":"

    Rotates to the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6rotate14rotationOffset17animationDurationy12CoreGraphics7CGFloatV_SdtF":{"name":"rotate(rotationOffset:animationDuration:)","abstract":"

    Rotates to the specified angle offset

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating14rotationOffset24fullRotationsUntilFinish17animationDuration_y12CoreGraphics7CGFloatV_SiSdySbcSgtF":{"name":"startAnimating(rotationOffset:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified rotation offset angle

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating11finishIndex24fullRotationsUntilFinish17animationDuration_ySi_SiSdySbcSgtF":{"name":"startAnimating(finishIndex:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating31indefiniteRotationTimeInSeconds11finishIndex_ySi_SiySbcSgtF":{"name":"startAnimating(indefiniteRotationTimeInSeconds:finishIndex:_:)","abstract":"

    Starts indefinite rotation and stops rotation at the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimatingyyF":{"name":"startAnimating()","abstract":"

    Starts indefinite rotation animation

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC13stopAnimatingyyF":{"name":"stopAnimating()","abstract":"

    Stops all animations

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating11finishIndex14rotationOffset24fullRotationsUntilFinish17animationDuration_ySi_12CoreGraphics7CGFloatVSiSdySbcSgtF":{"name":"startAnimating(finishIndex:rotationOffset:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified index and rotation angle offset

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)pinImage":{"name":"pinImage","abstract":"

    Pin image name from assets catalog, sets image to the pinImageView

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isPinHidden":{"name":"isPinHidden","abstract":"

    is pinImageView hidden

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinImage":{"name":"spinImage","abstract":"

    Spin button image name from assets catalog, sets image to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinBackgroundImage":{"name":"spinBackgroundImage","abstract":"

    Spin button background image from assets catalog, sets background image to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinTitle":{"name":"spinTitle","abstract":"

    Spin button title text, sets title text to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isSpinHidden":{"name":"isSpinHidden","abstract":"

    Is spinButton hidden

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isSpinEnabled":{"name":"isSpinEnabled","abstract":"

    Is spinButton enabled

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html":{"name":"SwiftFortuneWheel","abstract":"

    Undocumented

    "},"Classes/SpinningWheelAnimator.html":{"name":"SpinningWheelAnimator","abstract":"

    Spinning wheel animator

    "},"Classes/TTUtils.html":{"name":"TTUtils","abstract":"

    Undocumented

    "},"Classes/NoClippingLayer.html":{"name":"NoClippingLayer","abstract":"

    Undocumented

    "},"Classes/PinImageView.html":{"name":"PinImageView","abstract":"

    Pin or anchor image view, that usually represents an arrow to point in selected slice.

    "},"Classes/SpinButton.html":{"name":"SpinButton","abstract":"

    Spin button located at the center of the fotune wheel view."},"Classes/WheelLayer.html":{"name":"WheelLayer","abstract":"

    Wheel layer

    "},"Classes/WheelView.html":{"name":"WheelView","abstract":"

    Wheel view with slices.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Functions.html":{"name":"Functions","abstract":"

    The following functions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structures","abstract":"

    The following structures are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file +{"Typealiases.html#/s:17SwiftFortuneWheel8SFWColora":{"name":"SFWColor","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel7SFWFonta":{"name":"SFWFont","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel8SFWImagea":{"name":"SFWImage","abstract":"

    Undocumented

    "},"Typealiases.html#/UIView":{"name":"UIView"},"Typealiases.html#/UIImageView":{"name":"UIImageView"},"Typealiases.html#/UIButton":{"name":"UIButton"},"Typealiases.html#/UIBezierPath":{"name":"UIBezierPath"},"Typealiases.html#/UIScreen":{"name":"UIScreen"},"Typealiases.html#/SFWControl":{"name":"SFWControl"},"Typealiases.html#/SFWColor":{"name":"SFWColor"},"Typealiases.html#/SFWImage":{"name":"SFWImage"},"Typealiases.html#/SFWFont":{"name":"SFWFont"},"Typealiases.html#/SFWEdgeInsets":{"name":"SFWEdgeInsets"},"Typealiases.html#/s:17SwiftFortuneWheel10SFWControla":{"name":"SFWControl","abstract":"

    Undocumented

    "},"Typealiases.html#/s:17SwiftFortuneWheel13SFWEdgeInsetsa":{"name":"SFWEdgeInsets","abstract":"

    Undocumented

    "},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV12flipRotation12CoreGraphics7CGFloatVvpZ":{"name":"flipRotation","abstract":"

    Flip rotation

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV5torady12CoreGraphics7CGFloatVAGFZ":{"name":"torad(_:)","abstract":"

    to rad.

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV21circularSegmentHeight6radius4from12CoreGraphics7CGFloatVAI_AItFZ":{"name":"circularSegmentHeight(radius:from:)","abstract":"

    Circular segment height for radius and degree

    ","parent_name":"Calc"},"Structs/Calc.html#/s:17SwiftFortuneWheel4CalcV6radius21circularSegmentHeight4from12CoreGraphics7CGFloatVAI_AItFZ":{"name":"radius(circularSegmentHeight:from:)","abstract":"

    Radius calculation

    ","parent_name":"Calc"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO10assetImageyAESS_AA0H11PreferencesVtcAEmF":{"name":"assetImage(name:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO5imageyAESo7UIImageC_AA16ImagePreferencesVtcAEmF":{"name":"image(image:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO4textyAESS_AA15TextPreferencesVtcAEmF":{"name":"text(text:preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice/ContentType.html#/s:17SwiftFortuneWheel5SliceV11ContentTypeO4lineyAeA15LinePreferencesV_tcAEmF":{"name":"line(preferences:)","abstract":"

    Undocumented

    ","parent_name":"ContentType"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV8contentsSayAC11ContentTypeOGvp":{"name":"contents","abstract":"

    Contents in vertical align order

    ","parent_name":"Slice"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV15backgroundColorSo7UIColorCSgvp":{"name":"backgroundColor","abstract":"

    Background color, optional

    ","parent_name":"Slice"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV15backgroundImageSo7UIImageCSgvp":{"name":"backgroundImage","abstract":"

    Background image, optional

    ","parent_name":"Slice"},"Structs/Slice.html#/s:17SwiftFortuneWheel5SliceV8contents15backgroundColor0F5ImageACSayAC11ContentTypeOG_So7UIColorCSgSo7UIImageCSgtcfc":{"name":"init(contents:backgroundColor:backgroundImage:)","abstract":"

    Initiates a slice object

    ","parent_name":"Slice"},"Structs/Slice/ContentType.html":{"name":"ContentType","abstract":"

    Slice content type, currently image or text

    ","parent_name":"Slice"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO4clipyA2EmF":{"name":"clip","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO12truncateTailyA2EmF":{"name":"truncateTail","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO8wordWrapyA2EmF":{"name":"wordWrap","abstract":"

    Undocumented

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/LineBreakMode.html#/s:17SwiftFortuneWheel15TextPreferencesV13LineBreakModeO06systemfgH0So06NSLinegH0Vvp":{"name":"systemLineBreakMode","abstract":"

    NSLineBreakMode

    ","parent_name":"LineBreakMode"},"Structs/TextPreferences/Orientation.html#/s:17SwiftFortuneWheel15TextPreferencesV11OrientationO10horizontalyA2EmF":{"name":"horizontal","abstract":"

    Undocumented

    ","parent_name":"Orientation"},"Structs/TextPreferences/Orientation.html#/s:17SwiftFortuneWheel15TextPreferencesV11OrientationO8verticalyA2EmF":{"name":"vertical","abstract":"

    Undocumented

    ","parent_name":"Orientation"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV4fontSo6UIFontCvp":{"name":"font","abstract":"

    Text font

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13textColorTypeAA16SFWConfigurationV0gH0Ovp":{"name":"textColorType","abstract":"

    Text color type

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset in slice from the center, default value is 0

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14flipUpsideDownSbvp":{"name":"flipUpsideDown","abstract":"

    Flip the text upside down, default value is true

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV8isCurvedSbvp":{"name":"isCurved","abstract":"

    Is text curved or not, works only with orientation equal to horizontal, default value is true

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV11orientationAC11OrientationOvp":{"name":"orientation","abstract":"

    Text orientation, default value is .horizontal

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13lineBreakModeAC04LinegH0Ovp":{"name":"lineBreakMode","abstract":"

    The technique to use for wrapping and truncating the label’s text, default value is .clip

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13numberOfLinesSivp":{"name":"numberOfLines","abstract":"

    The maximum number of lines to use for rendering text., default valie is 1

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV7spacing12CoreGraphics7CGFloatVvp":{"name":"spacing","abstract":"

    Spacing between lines, default value is 3

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV9alignmentSo15NSTextAlignmentVvp":{"name":"alignment","abstract":"

    The technique to use for aligning the text, default value is .left

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV13textColorType4font14verticalOffsetAcA16SFWConfigurationV0gH0O_So6UIFontC12CoreGraphics7CGFloatVtcfc":{"name":"init(textColorType:font:verticalOffset:)","abstract":"

    Initiates a text preferences

    ","parent_name":"TextPreferences"},"Structs/TextPreferences/Orientation.html":{"name":"Orientation","abstract":"

    Text orientation, horizontal or vertical

    ","parent_name":"TextPreferences"},"Structs/TextPreferences/LineBreakMode.html":{"name":"LineBreakMode","abstract":"

    The technique to use for wrapping and truncating the label’s text

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV5color3forSo7UIColorCSi_tF":{"name":"color(for:)","abstract":"

    Creates a color for text, relative to slice index position

    ","parent_name":"TextPreferences"},"Structs/TextPreferences.html#/s:17SwiftFortuneWheel15TextPreferencesV14textAttributes3forSDySo21NSAttributedStringKeyaypGSi_tF":{"name":"textAttributes(for:)","abstract":"

    Creates text attributes, relative to slice index position

    ","parent_name":"TextPreferences"},"Structs/SFWConfiguration/ContentMode.html#/s:17SwiftFortuneWheel16SFWConfigurationV11ContentModeO15scaleAspectFillyA2EmF":{"name":"scaleAspectFill","abstract":"

    Undocumented

    ","parent_name":"ContentMode"},"Structs/SFWConfiguration/ContentMode.html#/s:17SwiftFortuneWheel16SFWConfigurationV11ContentModeO6bottomyA2EmF":{"name":"bottom","abstract":"

    Undocumented

    ","parent_name":"ContentMode"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size, required

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9imageNameSSvp":{"name":"imageName","abstract":"

    Image name from assets catalog

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV20rotationDegreeOffset12CoreGraphics7CGFloatVvp":{"name":"rotationDegreeOffset","abstract":"

    Rotation degree offset, default value is 0

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/AnchorImage.html#/s:17SwiftFortuneWheel16SFWConfigurationV11AnchorImageV9imageName4size14verticalOffsetAESS_So6CGSizeV12CoreGraphics7CGFloatVtcfc":{"name":"init(imageName:size:verticalOffset:)","abstract":"

    Initiates a anchor image object

    ","parent_name":"AnchorImage"},"Structs/SFWConfiguration/ColorType.html#/s:17SwiftFortuneWheel16SFWConfigurationV9ColorTypeO13evenOddColorsyAESo7UIColorC_AHtcAEmF":{"name":"evenOddColors(evenColor:oddColor:)","abstract":"

    Undocumented

    ","parent_name":"ColorType"},"Structs/SFWConfiguration/ColorType.html#/s:17SwiftFortuneWheel16SFWConfigurationV9ColorTypeO19customPatternColorsyAESaySo7UIColorCGSg_AHtcAEmF":{"name":"customPatternColors(colors:defaultColor:)","abstract":"

    Undocumented

    ","parent_name":"ColorType"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV4left12CoreGraphics7CGFloatVvp":{"name":"left","abstract":"

    Left margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV5right12CoreGraphics7CGFloatVvp":{"name":"right","abstract":"

    Right margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV3top12CoreGraphics7CGFloatVvp":{"name":"top","abstract":"

    Top margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV6bottom12CoreGraphics7CGFloatVvp":{"name":"bottom","abstract":"

    Bottom margin

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsVAEycfc":{"name":"init()","abstract":"

    Initiates a margins with default values:","parent_name":"Margins"},"Structs/SFWConfiguration/Margins.html#/s:17SwiftFortuneWheel16SFWConfigurationV7MarginsV3top4left5right6bottomAE12CoreGraphics7CGFloatV_A3Ltcfc":{"name":"init(top:left:right:bottom:)","abstract":"

    Initiates a margins

    ","parent_name":"Margins"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO3topyA2EmF":{"name":"top","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO6bottomyA2EmF":{"name":"bottom","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO4leftyA2EmF":{"name":"left","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO5rightyA2EmF":{"name":"right","abstract":"

    Undocumented

    ","parent_name":"Position"},"Structs/SFWConfiguration/Position.html#/s:17SwiftFortuneWheel16SFWConfigurationV8PositionO16startAngleOffset12CoreGraphics7CGFloatVvp":{"name":"startAngleOffset","abstract":"

    Start position angle offset in degree.","parent_name":"Position"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV8positionAC8PositionOvp":{"name":"position","abstract":"

    Position

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV15backgroundColorSo7UIColorCvp":{"name":"backgroundColor","abstract":"

    Background color, default value is .clear

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/PinImageViewPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV23PinImageViewPreferencesV4size8position16horizontalOffset08verticalL0AESo6CGSizeV_AC8PositionO12CoreGraphics7CGFloatVAPtcfc":{"name":"init(size:position:horizontalOffset:verticalOffset:)","abstract":"

    Initiates a pin image view preferences

    ","parent_name":"PinImageViewPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4sizeSo6CGSizeVvp":{"name":"size","abstract":"

    Size

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV12cornerRadius12CoreGraphics7CGFloatVvp":{"name":"cornerRadius","abstract":"

    Corner radius, default value is 0

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV11cornerWidth12CoreGraphics7CGFloatVvp":{"name":"cornerWidth","abstract":"

    Corner width, default value is 0

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV11cornerColorSo7UIColorCvp":{"name":"cornerColor","abstract":"

    Corner color, default value is .clear

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV15backgroundColorSo7UIColorCvp":{"name":"backgroundColor","abstract":"

    Background color, default value is .clear

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV9textColorSo7UIColorCvp":{"name":"textColor","abstract":"

    Text Color, default value is .black

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV17disabledTextColorSo7UIColorCvp":{"name":"disabledTextColor","abstract":"

    Disabled text color, default value is .black

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4fontSo6UIFontCvp":{"name":"font","abstract":"

    Font, default value is .systemFont(ofSize: 16, weight: .semibold)

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV4size16horizontalOffset08verticalJ0AESo6CGSizeV_12CoreGraphics7CGFloatVAMtcfc":{"name":"init(size:horizontalOffset:verticalOffset:)","abstract":"

    Initiates a spin button preferences

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SpinButtonPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV21SpinButtonPreferencesV14textAttributesSDySo21NSAttributedStringKeyaypGvp":{"name":"textAttributes","abstract":"

    Creates text attributes, relative to slice index position

    ","parent_name":"SpinButtonPreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV19backgroundColorTypeAC0hI0Ovp":{"name":"backgroundColorType","abstract":"

    Background color type

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV11strokeWidth12CoreGraphics7CGFloatVvp":{"name":"strokeWidth","abstract":"

    Stroke width

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV11strokeColorSo7UIColorCvp":{"name":"strokeColor","abstract":"

    Stroke color

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV26backgroundImageContentModeAC0iJ0Ovp":{"name":"backgroundImageContentMode","abstract":"

    Background image content mode

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/SlicePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV16SlicePreferencesV19backgroundColorType11strokeWidth0jH0AeC0hI0O_12CoreGraphics7CGFloatVSo7UIColorCtcfc":{"name":"init(backgroundColorType:strokeWidth:strokeColor:)","abstract":"

    Initiates a slice preferences

    ","parent_name":"SlicePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeWidth12CoreGraphics7CGFloatVvp":{"name":"strokeWidth","abstract":"

    Stroke width

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeColorSo7UIColorCvp":{"name":"strokeColor","abstract":"

    Stroke color

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/CirclePreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV17CirclePreferencesV11strokeWidth0G5ColorAE12CoreGraphics7CGFloatV_So7UIColorCtcfc":{"name":"init(strokeWidth:strokeColor:)","abstract":"

    Initiates a circle preferences

    ","parent_name":"CirclePreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV06circleE0AC06CircleE0Vvp":{"name":"circlePreferences","abstract":"

    Circle preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV05sliceE0AC05SliceE0Vvp":{"name":"slicePreferences","abstract":"

    Slice preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV13startPositionAC0G0Ovp":{"name":"startPosition","abstract":"

    Start position, should be equal to FortuneWheelConfiguration.pinPreferences.position

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV11layerInsetsSo06UIEdgeG0Vvp":{"name":"layerInsets","abstract":"

    Layer insets, used to center the drawing such that offseted graphics(e.g Shadows, Outer Glows) are not clipped.","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV14contentMarginsAC0G0Vvp":{"name":"contentMargins","abstract":"

    Margins for content inside a slide

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV11imageAnchorAC0G5ImageVSgvp":{"name":"imageAnchor","abstract":"

    Image anchor for each slice, located at the wheel’s border, optional

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV17centerImageAnchorAC0hG0VSgvp":{"name":"centerImageAnchor","abstract":"

    Image anchor for each slice, located at the center of wheel’s border, optional

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV26layerInsetsWithCircleWidthSo06UIEdgeG0Vvp":{"name":"layerInsetsWithCircleWidth","abstract":"

    Undocumented

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration/WheelPreferences.html#/s:17SwiftFortuneWheel16SFWConfigurationV0C11PreferencesV06circleE005sliceE013startPositionAeC06CircleE0V_AC05SliceE0VAC0I0Otcfc":{"name":"init(circlePreferences:slicePreferences:startPosition:)","abstract":"

    Initiates a wheel preferences

    ","parent_name":"WheelPreferences"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV21spinButtonPreferencesAC04SpinfG0VSgvp":{"name":"spinButtonPreferences","abstract":"

    Spin button preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV14pinPreferencesAC012PinImageViewF0VSgvp":{"name":"pinPreferences","abstract":"

    Pin (arrow) view preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV16wheelPreferencesAC0cF0Vvp":{"name":"wheelPreferences","abstract":"

    Wheel preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/alignmentRectInsets":{"name":"alignmentRectInsets","abstract":"

    Used to expand the clipping area

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration.html#/s:17SwiftFortuneWheel16SFWConfigurationV16wheelPreferences03pinF0010spinButtonF0A2C0cF0V_AC012PinImageViewF0VSgAC04SpiniF0VSgtcfc":{"name":"init(wheelPreferences:pinPreferences:spinButtonPreferences:)","abstract":"

    Initiates a configuration

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/WheelPreferences.html":{"name":"WheelPreferences","abstract":"

    Wheel preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/CirclePreferences.html":{"name":"CirclePreferences","abstract":"

    Circle preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/SlicePreferences.html":{"name":"SlicePreferences","abstract":"

    Slice preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/SpinButtonPreferences.html":{"name":"SpinButtonPreferences","abstract":"

    Spin button preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/PinImageViewPreferences.html":{"name":"PinImageViewPreferences","abstract":"

    Pin image view preferences

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/Position.html":{"name":"Position","abstract":"

    Position, pin or start position

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/Margins.html":{"name":"Margins","abstract":"

    Margins

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/ColorType.html":{"name":"ColorType","abstract":"

    Color type, used to color the item with the particularized pattern.","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/AnchorImage.html":{"name":"AnchorImage","abstract":"

    Anchor image used to add images around the wheel for each slice

    ","parent_name":"SFWConfiguration"},"Structs/SFWConfiguration/ContentMode.html":{"name":"ContentMode","abstract":"

    Content can be drawn by specified mode

    ","parent_name":"SFWConfiguration"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV6height12CoreGraphics7CGFloatVvp":{"name":"height","abstract":"

    Stroke height, default value is 1

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV9colorTypeAA16SFWConfigurationV05ColorG0Ovp":{"name":"colorType","abstract":"

    Stroke color type

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV9colorType6height14verticalOffsetAcA16SFWConfigurationV05ColorG0O_12CoreGraphics7CGFloatVAMtcfc":{"name":"init(colorType:height:verticalOffset:)","abstract":"

    Initiates a line preferences

    ","parent_name":"LinePreferences"},"Structs/LinePreferences.html#/s:17SwiftFortuneWheel15LinePreferencesV11strokeColor3forSo7UIColorCSi_tF":{"name":"strokeColor(for:)","abstract":"

    Undocumented

    ","parent_name":"LinePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV13preferredSizeSo6CGSizeVvp":{"name":"preferredSize","abstract":"

    Prefered image size, required

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV16horizontalOffset12CoreGraphics7CGFloatVvp":{"name":"horizontalOffset","abstract":"

    Horizontal offset in slice from the center, default value is 0

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV14verticalOffset12CoreGraphics7CGFloatVvp":{"name":"verticalOffset","abstract":"

    Vertical offset in slice from the center

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV14flipUpsideDownSbvp":{"name":"flipUpsideDown","abstract":"

    Flip the text upside down, default value is false

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV15backgroundColorSo7UIColorCSgvp":{"name":"backgroundColor","abstract":"

    Background color, optional

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV9tintColorSo7UIColorCSgvp":{"name":"tintColor","abstract":"

    Tint color, optional

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html#/s:17SwiftFortuneWheel16ImagePreferencesV13preferredSize14verticalOffsetACSo6CGSizeV_12CoreGraphics7CGFloatVtcfc":{"name":"init(preferredSize:verticalOffset:)","abstract":"

    Initiates a image preferences

    ","parent_name":"ImagePreferences"},"Structs/ImagePreferences.html":{"name":"ImagePreferences","abstract":"

    Image preferences

    "},"Structs/LinePreferences.html":{"name":"LinePreferences","abstract":"

    Line Preferences

    "},"Structs/SFWConfiguration.html":{"name":"SFWConfiguration","abstract":"

    Configuration, contains preferences to configure a fortune wheel

    "},"Structs/TextPreferences.html":{"name":"TextPreferences","abstract":"

    Text preferemces

    "},"Structs/Slice.html":{"name":"Slice","abstract":"

    Slice object that will be drawn as a custom content

    "},"Structs/Calc.html":{"name":"Calc","abstract":"

    Undocumented

    "},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE10drawCurved4text2in11preferences8rotation5index9topOffset6radius11sliceDegree025contextPositionCorrectionnQ07margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAQSiA4qA16SFWConfigurationV7MarginsVtF":{"name":"drawCurved(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:contextPositionCorrectionOffsetDegree:margins:)","abstract":"

    Draws curved text

    ","parent_name":"TextDrawing"},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE14drawHorizontal4text2in11preferences8rotation5index9topOffset6radius11sliceDegree7margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAPSiA3pA16SFWConfigurationV7MarginsVtF":{"name":"drawHorizontal(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:margins:)","abstract":"

    Draws text

    ","parent_name":"TextDrawing"},"Protocols/TextDrawing.html#/s:17SwiftFortuneWheel11TextDrawingPAAE12drawVertical4text2in11preferences8rotation5index9topOffset6radius11sliceDegree7margins12CoreGraphics7CGFloatVSS_So12CGContextRefaAA0D11PreferencesVAPSiA3pA16SFWConfigurationV7MarginsVtF":{"name":"drawVertical(text:in:preferences:rotation:index:topOffset:radius:sliceDegree:margins:)","abstract":"

    Draws text

    ","parent_name":"TextDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE21circularSegmentHeight12CoreGraphics7CGFloatVvp":{"name":"circularSegmentHeight","abstract":"

    Circular segment height

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE7marginsAA16SFWConfigurationV7MarginsVvp":{"name":"margins","abstract":"

    Content margins

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE37contextPositionCorrectionOffsetDegree12CoreGraphics7CGFloatVvp":{"name":"contextPositionCorrectionOffsetDegree","abstract":"

    Context position correction offset degree

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE04drawD09withIndex2in03forD08rotation5start3endySi_So12CGContextRefaAA0D0V12CoreGraphics7CGFloatVA2QtF":{"name":"drawSlice(withIndex:in:forSlice:rotation:start:end:)","abstract":"

    Draw slice with content

    ","parent_name":"SliceDrawing"},"Protocols/SliceDrawing.html#/s:17SwiftFortuneWheel12SliceDrawingPAAE11prepareDraw4text2in11preferences8rotation5index9topOffset12CoreGraphics7CGFloatVSS_So12CGContextRefaAA15TextPreferencesVAMSiAMtF":{"name":"prepareDraw(text:in:preferences:rotation:index:topOffset:)","abstract":"

    Prepare to draw text

    ","parent_name":"SliceDrawing"},"Protocols/ShapeDrawing.html#/s:17SwiftFortuneWheel12ShapeDrawingPAAE13drawRectangle2in8rotation6radiusySo12CGContextRefa_12CoreGraphics7CGFloatVALtF":{"name":"drawRectangle(in:rotation:radius:)","abstract":"

    Draws rectangle

    ","parent_name":"ShapeDrawing"},"Protocols/ShapeDrawing.html#/s:17SwiftFortuneWheel12ShapeDrawingPAAE8drawLine2in11preferences5start3and8rotation5index9topOffset6radius7margins025contextPositionCorrectionO6DegreeySo12CGContextRefa_AA0G11PreferencesV12CoreGraphics7CGFloatVA2USiA2uA16SFWConfigurationV7MarginsVAUtF":{"name":"drawLine(in:preferences:start:and:rotation:index:topOffset:radius:margins:contextPositionCorrectionOffsetDegree:)","abstract":"

    Draws curved line

    ","parent_name":"ShapeDrawing"},"Protocols/ImageDrawing.html#/s:17SwiftFortuneWheel12ImageDrawingPAAE04drawD02in5image11preferences8rotation5index9topOffset6radius7marginsySo12CGContextRefa_So7UIImageCAA0D11PreferencesV12CoreGraphics7CGFloatVSiA2uA16SFWConfigurationV7MarginsVtF":{"name":"drawImage(in:image:preferences:rotation:index:topOffset:radius:margins:)","abstract":"

    Draws image

    ","parent_name":"ImageDrawing"},"Protocols/ImageDrawing.html#/s:17SwiftFortuneWheel12ImageDrawingPAAE010drawAnchorD02in05imageG010isCentered8rotation5index6radius11sliceDegree0L6OffsetySo12CGContextRefa_AA16SFWConfigurationV0gD0VSb12CoreGraphics7CGFloatVSiA3UtF":{"name":"drawAnchorImage(in:imageAnchor:isCentered:rotation:index:radius:sliceDegree:rotationOffset:)","abstract":"

    Draws anchor image

    ","parent_name":"ImageDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE22centreArcPerpendicular4text7context6radius5angle6colour4font9clockwise12preferedSizeySS_So12CGContextRefa12CoreGraphics7CGFloatVAQSo7UIColorCSo6UIFontCSbSo6CGSizeVtF":{"name":"centreArcPerpendicular(text:context:radius:angle:colour:font:clockwise:preferedSize:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE10chordToArc_6radius12CoreGraphics7CGFloatVAH_AHtF":{"name":"chordToArc(_:radius:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/CurveTextDrawing.html#/s:17SwiftFortuneWheel16CurveTextDrawingPAAE6centre4text7context6radius5angle6colour4font10slantAngle13preferedWidthySS_So12CGContextRefa12CoreGraphics7CGFloatVAQSo7UIColorCSo6UIFontCA2QtF":{"name":"centre(text:context:radius:angle:colour:font:slantAngle:preferedWidth:)","abstract":"

    Undocumented

    ","parent_name":"CurveTextDrawing"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP5frameSo6CGRectVvp":{"name":"frame","abstract":"

    Wheel frame

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP9mainFrameSo6CGRectVSgvp":{"name":"mainFrame","abstract":"

    Wheel main frame

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingP11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Wheel preferences

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE6radius12CoreGraphics7CGFloatVvp":{"name":"radius","abstract":"

    Radius

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE14rotationOffset12CoreGraphics7CGFloatVvp":{"name":"rotationOffset","abstract":"

    Rotation offset

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE21circularSegmentHeight4from12CoreGraphics7CGFloatVAH_tF":{"name":"circularSegmentHeight(from:)","abstract":"

    Circular segment height for degree

    ","parent_name":"WheelMathCalculating"},"Protocols/WheelMathCalculating.html#/s:17SwiftFortuneWheel0C15MathCalculatingPAAE11updateSizes0F5FrameySb_tF":{"name":"updateSizes(updateFrame:)","abstract":"

    Updates frame sizes

    ","parent_name":"WheelMathCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingP6slicesSayAA0D0VGvp":{"name":"slices","abstract":"

    Slices

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE11sliceDegree12CoreGraphics7CGFloatVvp":{"name":"sliceDegree","abstract":"

    Slice degree

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE5theta12CoreGraphics7CGFloatVvp":{"name":"theta","abstract":"

    Theta

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE13computeRadian4from12CoreGraphics7CGFloatVSi_tF":{"name":"computeRadian(from:)","abstract":"

    Calculates radion for index

    ","parent_name":"SliceCalculating"},"Protocols/SliceCalculating.html#/s:17SwiftFortuneWheel16SliceCalculatingPAAE13segmentHeight6radius12CoreGraphics7CGFloatVAH_tF":{"name":"segmentHeight(radius:)","abstract":"

    Segment height

    ","parent_name":"SliceCalculating"},"Protocols/SpinningAnimatorProtocol.html#/s:17SwiftFortuneWheel24SpinningAnimatorProtocolP14layerToAnimateAA0D10Animatable_pSgvp":{"name":"layerToAnimate","abstract":"

    Layer that animates

    ","parent_name":"SpinningAnimatorProtocol"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE17updateLayerValues14forAnimationIdySS_tF":{"name":"updateLayerValues(forAnimationId:)","abstract":"

    Updates layer values

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE16removeAnimations14forAnimationIdySS_tF":{"name":"removeAnimations(forAnimationId:)","abstract":"

    Removes animations

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html#/s:17SwiftFortuneWheel18SpinningAnimatablePAAE25removeIndefiniteAnimationyyF":{"name":"removeIndefiniteAnimation()","abstract":"

    Removes indefinite animation

    ","parent_name":"SpinningAnimatable"},"Protocols/SpinningAnimatable.html":{"name":"SpinningAnimatable","abstract":"

    Spinning animatable protocol

    "},"Protocols/SpinningAnimatorProtocol.html":{"name":"SpinningAnimatorProtocol","abstract":"

    Spinning animator protocol

    "},"Protocols/SliceCalculating.html":{"name":"SliceCalculating","abstract":"

    Slice calculation protocol

    "},"Protocols/WheelMathCalculating.html":{"name":"WheelMathCalculating","abstract":"

    Wheel other math calculation protocol

    "},"Protocols/CurveTextDrawing.html":{"name":"CurveTextDrawing","abstract":"

    Curved text drawing protocol

    "},"Protocols/ImageDrawing.html":{"name":"ImageDrawing","abstract":"

    Image drawing protocol

    "},"Protocols/ShapeDrawing.html":{"name":"ShapeDrawing","abstract":"

    Shape drawing protocol

    "},"Protocols/SliceDrawing.html":{"name":"SliceDrawing","abstract":"

    Slice drawing protocol

    "},"Protocols/TextDrawing.html":{"name":"TextDrawing","abstract":"

    Curved text drawing protocol

    "},"Functions.html#/UIGraphicsGetCurrentContext()":{"name":"UIGraphicsGetCurrentContext()"},"Functions.html#/UIGraphicsPushContext(_:)":{"name":"UIGraphicsPushContext(_:)"},"Functions.html#/UIGraphicsPopContext()":{"name":"UIGraphicsPopContext()"},"Extensions/NSBezierPath.html#/addArc(withCenter:radius:startAngle:endAngle:clockwise:)":{"name":"addArc(withCenter:radius:startAngle:endAngle:clockwise:)","parent_name":"NSBezierPath"},"Extensions/NSBezierPath.html#/addLine(to:)":{"name":"addLine(to:)","parent_name":"NSBezierPath"},"Extensions/CGRect.html#/inset(by:)":{"name":"inset(by:)","parent_name":"CGRect"},"Extensions/NSButton.html#/setImage(_:)":{"name":"setImage(_:)","parent_name":"NSButton"},"Extensions/NSButton.html#/setTitle(_:attributes:)":{"name":"setTitle(_:attributes:)","parent_name":"NSButton"},"Extensions/NSButton.html#/isUserInteractionEnabled":{"name":"isUserInteractionEnabled","parent_name":"NSButton"},"Extensions/NSImageView.html#/tintColor":{"name":"tintColor","parent_name":"NSImageView"},"Extensions/NSImage.html#/tint(color:)":{"name":"tint(color:)","parent_name":"NSImage"},"Extensions/NSFont.html#/lineHeight":{"name":"lineHeight","parent_name":"NSFont"},"Extensions/NSScreen.html#/scale":{"name":"scale","parent_name":"NSScreen"},"Extensions/SFWImage.html#/s:So7UIImageC17SwiftFortuneWheelE13withTintColoryABSo7UIColorCF":{"name":"withTintColor(_:)","abstract":"

    Tint the image with color

    ","parent_name":"SFWImage"},"Extensions/SFWFont.html#/s:So6UIFontC17SwiftFortuneWheelE12sizeOfString6string18constrainedToWidthSo6CGSizeVSS_12CoreGraphics7CGFloatVtF":{"name":"sizeOfString(string:constrainedToWidth:)","abstract":"

    Calculates size of string

    ","parent_name":"SFWFont"},"Extensions/SFWFont.html#/s:So6UIFontC17SwiftFortuneWheelE6number12ofCharacters7thatFit0E7OfLinesSiSS_12CoreGraphics7CGFloatVSitF":{"name":"number(ofCharacters:thatFit:numberOfLines:)","abstract":"

    Number of characters that fit witdh

    ","parent_name":"SFWFont"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE4crop2by4fontSS12CoreGraphics7CGFloatV_So6UIFontCtF":{"name":"crop(by:font:)","abstract":"

    Crops string by specified width and font

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE29replaceLastCharactersWithDots5countySi_tF":{"name":"replaceLastCharactersWithDots(count:)","abstract":"

    Replaces characters with dots at the end

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE10linesCount3for7spacingSiSo6UIFontC_12CoreGraphics7CGFloatVtF":{"name":"linesCount(for:spacing:)","abstract":"

    Сounts the right amount of lines for text

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE5split4font10lineWidths0F5Break0D9CharacterSaySSGSo6UIFontC_Say12CoreGraphics7CGFloatVGAA15TextPreferencesV04LineH4ModeOSStF":{"name":"split(font:lineWidths:lineBreak:splitCharacter:)","abstract":"

    Splits String to lines

    ","parent_name":"String"},"Extensions/String.html#/s:SS17SwiftFortuneWheelE5width2by12CoreGraphics7CGFloatVSo6UIFontC_tF":{"name":"width(by:)","abstract":"

    Avalilable width for text with specified font

    ","parent_name":"String"},"Extensions/UIView.html#/s:So6UIViewC17SwiftFortuneWheelE14setAnchorPoint06anchorG0ySo7CGPointV_tF":{"name":"setAnchorPoint(anchorPoint:)","abstract":"

    Undocumented

    ","parent_name":"UIView"},"Extensions/NSView.html#/setAnchorPoint(anchorPoint:)":{"name":"setAnchorPoint(anchorPoint:)","parent_name":"NSView"},"Extensions/NSView.html#/backgroundColor":{"name":"backgroundColor","parent_name":"NSView"},"Extensions/NSView.html#/layoutIfNeeded()":{"name":"layoutIfNeeded()","parent_name":"NSView"},"Extensions/SFWColor.html#/s:So7UIColorC17SwiftFortuneWheelE6randomABvpZ":{"name":"random","abstract":"

    Random color

    ","parent_name":"SFWColor"},"Extensions/CGSize.html#/s:So6CGSizeV17SwiftFortuneWheelE10aspectFill0E5Ratio11minimumSizeA2B_ABtFZ":{"name":"aspectFill(aspectRatio:minimumSize:)","abstract":"

    Undocumented

    ","parent_name":"CGSize"},"Extensions/CGSize.html#/s:So6CGSizeV17SwiftFortuneWheelE9aspectFit9sizeImageSo6CGRectVAB_tF":{"name":"aspectFit(sizeImage:)","abstract":"

    Calculates aspect fit size for image

    ","parent_name":"CGSize"},"Extensions/Array.html#/s:Sa17SwiftFortuneWheelE_7defaultxSi_xyXKtcip":{"name":"subscript(_:default:)","abstract":"

    Undocumented

    ","parent_name":"Array"},"Extensions/Array.html":{"name":"Array"},"Extensions/CGSize.html":{"name":"CGSize"},"Extensions/SFWColor.html":{"name":"SFWColor","abstract":"

    Undocumented

    "},"Extensions/NSView.html":{"name":"NSView"},"Extensions/UIView.html":{"name":"UIView"},"Extensions/String.html":{"name":"String"},"Extensions/SFWFont.html":{"name":"SFWFont","abstract":"

    Undocumented

    "},"Extensions/SFWImage.html":{"name":"SFWImage","abstract":"

    Undocumented

    "},"Extensions/NSScreen.html":{"name":"NSScreen"},"Extensions/NSFont.html":{"name":"NSFont"},"Extensions/NSImage.html":{"name":"NSImage"},"Extensions/NSImageView.html":{"name":"NSImageView"},"Extensions/NSButton.html":{"name":"NSButton"},"Extensions/CGRect.html":{"name":"CGRect"},"Extensions/NSBezierPath.html":{"name":"NSBezierPath"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC10wheelLayerAA0cF0CSgvp":{"name":"wheelLayer","abstract":"

    Wheel layer

    ","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Customizable preferences.","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC5frame6slices11preferencesACSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationV0C11PreferencesVSgtcfc":{"name":"init(frame:slices:preferences:)","abstract":"

    Initiates without IB.

    ","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/layout()":{"name":"layout()","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelView(im)drawRect:":{"name":"draw(_:)","abstract":"

    Undocumented

    ","parent_name":"WheelView"},"Classes/WheelView.html#/wantsDefaultClipping":{"name":"wantsDefaultClipping","parent_name":"WheelView"},"Classes/WheelView.html#/s:17SwiftFortuneWheel0C4ViewC15setupAutoLayoutyyF":{"name":"setupAutoLayout()","abstract":"

    Setups auto layouts

    ","parent_name":"WheelView"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC11preferencesAA16SFWConfigurationV0C11PreferencesVSgvp":{"name":"preferences","abstract":"

    Customizable preferences.","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC9mainFrameSo6CGRectVSgvp":{"name":"mainFrame","abstract":"

    Main frame with inserts.

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC5frame6slices11preferencesACSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationV0C11PreferencesVSgtcfc":{"name":"init(frame:slices:preferences:)","abstract":"

    Initiates without IB.

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)initWithLayer:":{"name":"init(layer:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(im)drawInContext:":{"name":"draw(in:)","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)WheelLayer(py)masksToBounds":{"name":"masksToBounds","abstract":"

    Undocumented

    ","parent_name":"WheelLayer"},"Classes/WheelLayer.html#/s:17SwiftFortuneWheel0C5LayerC10drawCanvas4withySo6CGRectV_tF":{"name":"drawCanvas(with:)","abstract":"

    Draws the wheel with slices in canvas

    ","parent_name":"WheelLayer"},"Classes/SpinButton.html#/init(frame:)":{"name":"init(frame:)","parent_name":"SpinButton"},"Classes/SpinButton.html#/init(coder:)":{"name":"init(coder:)","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC15setupAutoLayout4withyAA16SFWConfigurationV0dE11PreferencesVSg_tF":{"name":"setupAutoLayout(with:)","abstract":"

    Setups auto layouts with preferences

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC5image4nameySSSg_tF":{"name":"image(name:)","abstract":"

    Updates spin button image

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC15backgroundImage4nameySSSg_tF":{"name":"backgroundImage(name:)","abstract":"

    Updates spin button background image

    ","parent_name":"SpinButton"},"Classes/SpinButton.html#/s:17SwiftFortuneWheel10SpinButtonC9configure4withyAA16SFWConfigurationV0dE11PreferencesVSg_tF":{"name":"configure(with:)","abstract":"

    Updates spin button background color and layer

    ","parent_name":"SpinButton"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC15setupAutoLayout4withyAA16SFWConfigurationV0deF11PreferencesVSg_tF":{"name":"setupAutoLayout(with:)","abstract":"

    Setups auto layouts with preferences

    ","parent_name":"PinImageView"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC5image4nameySSSg_tF":{"name":"image(name:)","abstract":"

    Updates pin image

    ","parent_name":"PinImageView"},"Classes/PinImageView.html#/s:17SwiftFortuneWheel12PinImageViewC9configure4withyAA16SFWConfigurationV0deF11PreferencesVSg_tF":{"name":"configure(with:)","abstract":"

    Updates pin image view background color and layer

    ","parent_name":"PinImageView"},"Classes/NoClippingLayer.html#/c:@M@SwiftFortuneWheel@objc(cs)NoClippingLayer(py)masksToBounds":{"name":"masksToBounds","abstract":"

    Undocumented

    ","parent_name":"NoClippingLayer"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC5group10animations8fillMode14forEffectLayer14sublayersCountSo16CAAnimationGroupCSgSaySo0N0CG_SSSgSbSitFZ":{"name":"group(animations:fillMode:forEffectLayer:sublayersCount:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11maxDuration12ofAnimationsSdSaySo11CAAnimationCG_tFZ":{"name":"maxDuration(ofAnimations:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11maxDuration17ofEffectAnimation14sublayersCountSdSo11CAAnimationC_SitFZ":{"name":"maxDuration(ofEffectAnimation:sublayersCount:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC25updateValueFromAnimations9forLayersySaySo7CALayerCG_tFZ":{"name":"updateValueFromAnimations(forLayers:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC11updateValue12forAnimation8theLayerySo11CAAnimationC_So7CALayerCtFZ":{"name":"updateValue(forAnimation:theLayer:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/TTUtils.html#/s:17SwiftFortuneWheel7TTUtilsC32updateValueFromPresentationLayer12forAnimation03theI0ySo11CAAnimationCSg_So7CALayerCtFZ":{"name":"updateValueFromPresentationLayer(forAnimation:theLayer:)","abstract":"

    Undocumented

    ","parent_name":"TTUtils"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC15animationObjectAA0dE8Protocol_pSgvp":{"name":"animationObject","abstract":"

    Animation object

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC16completionBlocksSDySo11CAAnimationCySbcGvp":{"name":"completionBlocks","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC37updateLayerValueForCompletedAnimationSbvp":{"name":"updateLayerValueForCompletedAnimation","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC23currentRotationPosition12CoreGraphics7CGFloatVSgvp":{"name":"currentRotationPosition","abstract":"

    Current rotation position used to know where is last time rotation stopped

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC23rotationDirectionOffset12CoreGraphics7CGFloatVvp":{"name":"rotationDirectionOffset","abstract":"

    Undocumented

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC19withObjectToAnimateAcA0dE8Protocol_p_tcfc":{"name":"init(withObjectToAnimate:)","abstract":"

    Initialize spinning wheel animator

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC30addIndefiniteRotationAnimation12rotationTime04fullH5CountySd_12CoreGraphics7CGFloatVtF":{"name":"addIndefiniteRotationAnimation(rotationTime:fullRotationCount:)","abstract":"

    Start indefinite rotation animation

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/s:17SwiftFortuneWheel08SpinningC8AnimatorC20addRotationAnimation24fullRotationsUntilFinish17animationDuration14rotationOffset15completionBlockySi_Sd12CoreGraphics7CGFloatVySbcSgtF":{"name":"addRotationAnimation(fullRotationsUntilFinish:animationDuration:rotationOffset:completionBlock:)","abstract":"

    Start rotation animation

    ","parent_name":"SpinningWheelAnimator"},"Classes/SpinningWheelAnimator.html#/c:@M@SwiftFortuneWheel@objc(cs)SpinningWheelAnimator(im)animationDidStop:finished:":{"name":"animationDidStop(_:finished:)","abstract":"

    Animation did stop

    ","parent_name":"SpinningWheelAnimator"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC15onSpinButtonTapyycSgvp":{"name":"onSpinButtonTap","abstract":"

    Called when spin button tapped

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC13configurationAA16SFWConfigurationVSgvp":{"name":"configuration","abstract":"

    Customizable configuration.","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6slicesSayAA5SliceVGvp":{"name":"slices","abstract":"

    List of Slice objects.","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC5frame6slices13configurationABSo6CGRectV_SayAA5SliceVGAA16SFWConfigurationVSgtcfc":{"name":"init(frame:slices:configuration:)","abstract":"

    Initiates without IB.

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@M@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(im)initWithCoder:":{"name":"init(coder:)","abstract":"

    Undocumented

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/wantsDefaultClipping":{"name":"wantsDefaultClipping","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/pressesEnded(_:with:)":{"name":"pressesEnded(_:with:)","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/layout()":{"name":"layout()","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@M@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(im)layoutSubviews":{"name":"layoutSubviews()","abstract":"

    Undocumented

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/alignmentRectInsets":{"name":"alignmentRectInsets","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14layerToAnimateAA18SpinningAnimatable_pSgvp":{"name":"layerToAnimate","abstract":"

    / Animation conformance

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6rotate7toIndex17animationDurationySi_SdtF":{"name":"rotate(toIndex:animationDuration:)","abstract":"

    Rotates to the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC6rotate14rotationOffset17animationDurationy12CoreGraphics7CGFloatV_SdtF":{"name":"rotate(rotationOffset:animationDuration:)","abstract":"

    Rotates to the specified angle offset

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating14rotationOffset24fullRotationsUntilFinish17animationDuration_y12CoreGraphics7CGFloatV_SiSdySbcSgtF":{"name":"startAnimating(rotationOffset:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified rotation offset angle

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating11finishIndex24fullRotationsUntilFinish17animationDuration_ySi_SiSdySbcSgtF":{"name":"startAnimating(finishIndex:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating31indefiniteRotationTimeInSeconds11finishIndex_ySi_SiySbcSgtF":{"name":"startAnimating(indefiniteRotationTimeInSeconds:finishIndex:_:)","abstract":"

    Starts indefinite rotation and stops rotation at the specified index

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating12rotationTime019fullRotationCountIniG0ySd_12CoreGraphics7CGFloatVtF":{"name":"startAnimating(rotationTime:fullRotationCountInRotationTime:)","abstract":"

    Starts indefinite rotation animation

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC13stopAnimatingyyF":{"name":"stopAnimating()","abstract":"

    Stops all animations

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/s:17SwiftFortuneWheelAAC14startAnimating11finishIndex14rotationOffset24fullRotationsUntilFinish17animationDuration_ySi_12CoreGraphics7CGFloatVSiSdySbcSgtF":{"name":"startAnimating(finishIndex:rotationOffset:fullRotationsUntilFinish:animationDuration:_:)","abstract":"

    Starts rotation animation and stops rotation at the specified index and rotation angle offset

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)pinImage":{"name":"pinImage","abstract":"

    Pin image name from assets catalog, sets image to the pinImageView

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isPinHidden":{"name":"isPinHidden","abstract":"

    is pinImageView hidden

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinImage":{"name":"spinImage","abstract":"

    Spin button image name from assets catalog, sets image to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinBackgroundImage":{"name":"spinBackgroundImage","abstract":"

    Spin button background image from assets catalog, sets background image to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)spinTitle":{"name":"spinTitle","abstract":"

    Spin button title text, sets title text to the spinButton

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isSpinHidden":{"name":"isSpinHidden","abstract":"

    Is spinButton hidden

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html#/c:@CM@SwiftFortuneWheel@objc(cs)SwiftFortuneWheel(py)isSpinEnabled":{"name":"isSpinEnabled","abstract":"

    Is spinButton enabled

    ","parent_name":"SwiftFortuneWheel"},"Classes/SwiftFortuneWheel.html":{"name":"SwiftFortuneWheel","abstract":"

    Undocumented

    "},"Classes/SpinningWheelAnimator.html":{"name":"SpinningWheelAnimator","abstract":"

    Spinning wheel animator

    "},"Classes/TTUtils.html":{"name":"TTUtils","abstract":"

    Undocumented

    "},"Classes/NoClippingLayer.html":{"name":"NoClippingLayer","abstract":"

    Undocumented

    "},"Classes/PinImageView.html":{"name":"PinImageView","abstract":"

    Pin or anchor image view, that usually represents an arrow to point in selected slice.

    "},"Classes/SpinButton.html":{"name":"SpinButton","abstract":"

    Spin button located at the center of the fotune wheel view."},"Classes/WheelLayer.html":{"name":"WheelLayer","abstract":"

    Wheel layer

    "},"Classes/WheelView.html":{"name":"WheelView","abstract":"

    Wheel view with slices.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Functions.html":{"name":"Functions","abstract":"

    The following functions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structures","abstract":"

    The following structures are available globally.

    "},"Typealiases.html":{"name":"Type Aliases","abstract":"

    The following type aliases are available globally.

    "}} \ No newline at end of file diff --git a/docs/undocumented.json b/docs/undocumented.json index f1f2777..c2344a9 100644 --- a/docs/undocumented.json +++ b/docs/undocumented.json @@ -16,46 +16,60 @@ }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 254, + "line": 257, "symbol": "SFWConfiguration.Position.top", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 255, + "line": 258, "symbol": "SFWConfiguration.Position.bottom", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 256, + "line": 259, "symbol": "SFWConfiguration.Position.left", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 257, + "line": 260, "symbol": "SFWConfiguration.Position.right", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 324, + "line": 327, "symbol": "SFWConfiguration.ColorType.evenOddColors(evenColor:oddColor:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", - "line": 325, + "line": 328, "symbol": "SFWConfiguration.ColorType.customPatternColors(colors:defaultColor:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", + "line": 370, + "symbol": "SFWConfiguration.ContentMode.scaleAspectFill", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/SFWConfiguration.swift", + "line": 371, + "symbol": "SFWConfiguration.ContentMode.bottom", + "symbol_kind": "source.lang.swift.decl.enumelement", + "warning": "undocumented" + }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Configuration/TextPreferences.swift", "line": 70, @@ -98,6 +112,13 @@ "symbol_kind": "source.lang.swift.decl.function.subscript", "warning": "undocumented" }, + { + "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Extensions/CGRect+AspectFill.swift", + "line": 19, + "symbol": "CGSize.aspectFill(aspectRatio:minimumSize:)", + "symbol_kind": "source.lang.swift.decl.function.method.static", + "warning": "undocumented" + }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Extensions/NSView+AnchorPoint.swift", "line": 44, @@ -107,28 +128,28 @@ }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Models/Slice.swift", - "line": 38, + "line": 45, "symbol": "Slice.ContentType.assetImage(name:preferences:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Models/Slice.swift", - "line": 39, + "line": 46, "symbol": "Slice.ContentType.image(image:preferences:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Models/Slice.swift", - "line": 40, + "line": 47, "symbol": "Slice.ContentType.text(text:preferences:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/Models/Slice.swift", - "line": 41, + "line": 48, "symbol": "Slice.ContentType.line(preferences:)", "symbol_kind": "source.lang.swift.decl.enumelement", "warning": "undocumented" @@ -170,7 +191,7 @@ }, { "file": "/Users/sherzod/Documents/Xcode/!opensourced/UI/SwiftFortuneWheel/Sources/SwiftFortuneWheel/SwiftFortuneWheel.swift", - "line": 341, + "line": 344, "symbol": "SwiftFortuneWheel", "symbol_kind": "source.lang.swift.decl.extension", "warning": "undocumented"