Top "Cgpath" questions

A graphics path is a mathematical description of a series of shapes or lines.

How can I combine UIBezierPath drawings?

I'm trying to combine several UIBezierPath drawings. I have different types of drawings I can make (line, cubic bezier, quadratic …

ios6 uibezierpath cgpath
Why is 'nil' not compatible with 'UnsafePointer<CGAffineTransform>' in Swift 3?

Trying to create a CGMutablePath() as such: let path = CGMutablePath() CGPathMoveToPoint(path, nil, 30, 0) but the compiler keeps on giving me …

swift swift3 cgpath
1. CGPathMoveToPoint' is unavailable: Use move(to:transform:) 2. 'CGPathAddLineToPoint' is unavailable: Use addLine(to:transform:)

I have created one of my application in swift 2 in Xcode 7.3.1. But now I have open same application in Xcode 8.0 …

swift3 xcode8 cgpath
Reposition CGPath/UIBezierPath in View

Is it possible to reposition an already drawn CGPath/UIBezierPath on a view? I would like to move or change …

ios uibezierpath cgpath
Merge multiple CGPaths together to make one path

I am making a complex shape using a few CGRects and Ellipses. I would like to stroke that path once …

objective-c cgpath
How to draw a filled path/shape in different colors

I need to color a shape on my screen any color I wish. I am currently trying to do this …

ios objective-c cocoa-touch cgpath cashapelayer
CGPath with outline

I am trying to draw a CGPath that has a stroke for it's stroke. Basically I want a draw a …

ios objective-c core-graphics quartz-graphics cgpath
Scale CGPath to Fit UIVIew

I need to know how I can scale down or up CGPath so it can fit UIView? Set the background …

ios uiview core-graphics cgpath cashapelayer
Performance when frequently drawing CGPaths

I am working on an iOS App that visualizes data as a line-graph. The graph is drawn as a CGPath …

objective-c ios core-graphics cgpath
What is the difference between CGPath and UIBezierPath()?

At the moment, I'm trying to work out how to animate a custom button which I have an image of …

ios swift uibezierpath cgpath