Get the bound box for a cgPath with +10 of width and height in swift iOS

 Solution:

    let selectionBox = appenedPath.boundingBox.insetBy(dx: -10.0, dy: -10.0)


Comments

Popular posts from this blog

Convert NsNumber, NSDate to String in iOS Swift

store cgpoint in userdefaults iOS swift