WheelMathCalculating
protocol WheelMathCalculating : AnyObject
Wheel other math calculation protocol
-
Wheel frame
Declaration
Swift
var frame: CGRect { get set }
-
Wheel main frame
Declaration
Swift
var mainFrame: CGRect! { get set }
-
Wheel preferences
Declaration
Swift
var preferences: SFWConfiguration.WheelPreferences? { get set }
-
radius
Extension methodRadius
Declaration
Swift
var radius: CGFloat { get }
-
rotationOffset
Extension methodRotation offset
Declaration
Swift
var rotationOffset: CGFloat { get }
-
circularSegmentHeight(from:
Extension method) Circular segment height for degree
Declaration
Swift
func circularSegmentHeight(from degree: CGFloat) -> CGFloat
Parameters
degree
degree
Return Value
height
-
updateSizes(updateFrame:
Extension method) Updates frame sizes
Declaration
Swift
func updateSizes(updateFrame: Bool = true)