---
title: CGPathElementType.moveToPoint
framework: coregraphics
role: symbol
role_heading: Case
path: coregraphics/cgpathelementtype/movetopoint
---

# CGPathElementType.moveToPoint

The path element that starts a new subpath.

## Declaration

```swift
case moveToPoint
```

## Discussion

Discussion The element holds a single point for the destination. See the function CGPathMoveToPoint.

## See Also

### Constants

- [CGPathElementType.addLineToPoint](coregraphics/cgpathelementtype/addlinetopoint.md)
- [CGPathElementType.addQuadCurveToPoint](coregraphics/cgpathelementtype/addquadcurvetopoint.md)
- [CGPathElementType.addCurveToPoint](coregraphics/cgpathelementtype/addcurvetopoint.md)
- [CGPathElementType.closeSubpath](coregraphics/cgpathelementtype/closesubpath.md)
