<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBezierPath/appendArc(withCenter:radius:startAngle:endAngle:clockwise:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBezierPath(im)appendBezierPathWithArcWithCenter:radius:startAngle:endAngle:clockwise:"
  },
  "title" : "appendArc(withCenter:radius:startAngle:endAngle:clockwise:)"
}
-->

# appendArc(withCenter:radius:startAngle:endAngle:clockwise:)

Appends an arc of a circle to the path.

```
func appendArc(withCenter center: NSPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat, clockwise: Bool)
```

## Parameters

`center`

Specifies the center point of the circle used to define the arc.

`radius`

Specifies the radius of the circle used to define the arc.

`startAngle`

Specifies the starting angle of the arc, measured in degrees counterclockwise from the x-axis.

`endAngle`

Specifies the end angle of the arc, measured in degrees counterclockwise from the x-axis.

`clockwise`

<doc://com.apple.documentation/documentation/Swift/true> if you want the arc to be drawn in a clockwise direction; otherwise <doc://com.apple.documentation/documentation/Swift/false> to draw the arc in a counterclockwise direction.

## Discussion

The created arc lies on the perimeter of the circle, between the angles specified by the `startAngle` and `endAngle` parameters. The arc is drawn in the direction indicated by the `clockwise` parameter. If the receiver’s path is empty, this method sets the current point to the beginning of the arc before adding the arc segment. If the receiver’s path is not empty, a line is drawn from the current point to the starting point of the arc.

Depending on the length of the arc, this method may add multiple connected curve segments to the path.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)