ArrowView
open class ArrowView : UIView
Custom UIView that draws an arrow between an entry and an exit point on the border of the view.
-
Supported locations for an entry or an exit
See moreDeclaration
Swift
public enum Position : Int, CaseIterable
-
Entry point for the arrow in this view
Declaration
Swift
open var entry: Position
-
Exit point for the arrow in this view
Declaration
Swift
open var exit: Position
-
Line width of the line
Declaration
Swift
open var lineWidth: CGFloat
-
Width of the arrow tail (gap across the top of the “V”)
Declaration
Swift
open var arrowWidth: CGFloat { get set }
-
Color of the line
Declaration
Swift
open var lineColor: UIColor { get set }
-
Color of the arrow
Declaration
Swift
open var arrowBorderColor: UIColor { get set }
-
Color of the arrow
Declaration
Swift
open var arrowFillColor: UIColor { get set }
-
Length of the arrow
Declaration
Swift
open var arrowLength: CGFloat { get set }
-
Amount of bending given to a curve. This is multiplied with the dimension of the of the view and added to the dimension mid point to obtain an X or Y coordinate for a control point.
Declaration
Swift
open var bendFactor: CGFloat { get set }
-
Amount of waviness in horizontal/vertical lines. This is multiplied with the dimension of the of the view and added to the dimension mid point to obtain an X or Y coordinate for a control point.
Declaration
Swift
open var wavyFactor: CGFloat { get set }
-
Construct new view with the given frame
Declaration
Swift
public override init(frame: CGRect)
Parameters
frame
geometry of the new view
-
Construct new view from data in the given coder
Declaration
Swift
public required init?(coder: NSCoder)
Parameters
coder
source to read from
-
Update the view due to layout changes.
Declaration
Swift
override open func layoutSubviews()