@@ -13,20 +13,36 @@ import UIKit
13
13
}
14
14
15
15
@objc public class HHFloatingViewConfiguration : NSObject {
16
+ /// Total number of options will be display in HHFloatingView. Default: 0
16
17
public var numberOfOptions : Int = 0
18
+ /// Images to be display for each of the options.
17
19
public var optionImages : Array < UIImage > = [ ]
20
+ /// Colors to be display for each of the options.
18
21
public var optionColors : Array < UIColor > = [ ]
22
+ /// Handler Image to be display for HHFloatingView.
19
23
public var handlerImage : UIImage = UIImage . init ( )
24
+ /// Handler Color to be display for HHFloatingView. Default: white
20
25
public var handlerColor : UIColor = UIColor . white
26
+ /// Position for HHFloatingView. Default: top
21
27
public var position : HHFloatingViewPosition = . top
28
+ /// Handler Button Size. Default: 80x80
22
29
public var handlerSize : CGSize = . init( width: 80.0 , height: 80.0 )
30
+ /// Options Button Size. Default: 60x60
23
31
public var optionsSize : CGSize = . init( width: 60.0 , height: 60.0 )
32
+ /// Internal Margins. Default: 10.0
24
33
public var internalMargin : CGFloat = 10.0
34
+ /// Initial Margin. Default: 20.0
25
35
public var initialMargin : CGFloat = 20.0
36
+ /// Animation Timer Duration. Default: 0.3
26
37
public var animationTimerDuration : TimeInterval = 0.3
38
+ /// Internal Animation Timer Duration. Default: 0.2
27
39
public var internalAnimationTimerDuration : TimeInterval = 0.2
40
+ /// Show Shadow for Options. Default: false
28
41
public var showShadowInButtons : Bool = false
42
+ /// Show Shadow for Handler Button. Default: false
29
43
public var showShadowInHandlerButton : Bool = false
44
+ /// Show Scale Animation for Buttons and Handler. Default: false
30
45
public var showScaleAnimation : Bool = false
46
+ /// Size for the Scale Animation. Default: 1.0
31
47
public var scaleAnimationSize : CGFloat = 1.0
32
48
}
0 commit comments