     drawLine(in: context, x: 60, y: 620, label: "dashStyle.pattern == [8, 7, 2, 7], dashStyle.phase == 0")
 }
 
-page.drawPath { context in
+page.draw { context in
     
     context.lineWidth = 30
     context.strokeColor = #colorLiteral(red: 0, green: 0.4980392157, blue: 0, alpha: 1)

    context.dashStyle = DashStyle(pattern: [3])!
    context.lineWidth = 0.5
    
    context.move(to: point)
    context.line(to: point1)
    context.strokePath()
    
    context.dashStyle = .straightLine
    context.lineWidth = 1.5
    
    context.move(to: point)
    context.curve(controlPoint1: point1, endPoint: point2)
    context.strokePath()
    
    point = point + Vector(x: 0, y: -150)
    point1 = point1 + Vector(x: 0, y: -160)

    context.dashStyle = DashStyle(pattern: [3])!
    context.lineWidth = 0.5
    
    context.stroke(Path().moving(to: point).appendingLine(to: point1).moving(to: point2).appendingLine(to: point3))
    
    context.dashStyle = .straightLine
    context.lineWidth = 1.5
    
    context.stroke(Path().moving(to: point).appendingCurve(controlPoint1: point1, controlPoint2: point2, endPoint: point3))
}

document.display()
