Path
#drawing #coregraphics #cg #path
Overview
Subjects
Sample Codes
Path { path in
path.move(to: CGPoint(x: 200, y: 100))
path.addLine(to: CGPoint(x: 100, y: 300))
path.addLine(to: CGPoint(x: 300, y: 300))
path.addLine(to: CGPoint(x: 200, y: 100))
path.closeSubpath()
}
Sources
Videos
Articles / Documents
Last updated
Was this helpful?