RangeSliderThumbLayer
public class RangeSliderThumbLayer: CALayer
the thumb for upper , lower bounds
-
whether this thumb is currently highlighted i.e. touched by user
Declaration
Swift
public var highlighted: Bool = false
-
stroke color
Declaration
Swift
public var strokeColor: UIColor = UIColor.gray
-
line width
Declaration
Swift
public var lineWidth: CGFloat = 0.5
-
draw the thumb
Parameter
Parameter ctx: current graphics contextDeclaration
Swift
override open func draw(in ctx: CGContext)
Parameters
ctx
current graphics context