BezierPathLayer

@objcMembers open class BezierPathLayer: CAShapeLayer

Layer used to draw a UIBezierPath.

  • The bezier path to draw

    Declaration

    Swift

    open private(set) var bezierPath: UIBezierPath?
  • The duration of the bezier path animation

    Declaration

    Swift

    open var animationDuration = 0.3
  • Default initializer for bezier path layer.

    Declaration

    Swift

    public override init()
  • Initializes the path with a layer.

    Declaration

    Swift

    public override init(layer: Any)
  • Draws self.path using a given bezier path.

    Declaration

    Swift

    open func setBezierPath(_ bezierPath: UIBezierPath?, animated: Bool)