DrawKit
Vector and illustration framework for Mac OS X
Instance Methods | Class Methods | List of all members
NSBezierPath(Geometry) Category Reference

Instance Methods

(void) - addInverseClip
 
(void) - appendBezierPathRemovingInitialMoveToPoint:
 
(NSBezierPath *) - bezierPathByInterpolatingPath:
 
(NSBezierPath *) - bezierPathByIteratingWithDelegate:contextInfo:
 
(NSBezierPath *) - bezierPathByRandomisingPoints:
 
(NSBezierPath *) - bezierPathByTrimmingFromBothEnds:
 
(NSBezierPath *) - bezierPathByTrimmingFromBothEnds:withMaximumError:
 
(NSBezierPath *) - bezierPathByTrimmingFromCentre:
 
(NSBezierPath *) - bezierPathByTrimmingFromCentre:withMaximumError:
 
(NSBezierPath *) - bezierPathByTrimmingFromLength:
 
(NSBezierPath *) - bezierPathByTrimmingFromLength:toLength:
 
(NSBezierPath *) - bezierPathByTrimmingFromLength:toLength:withMaximumError:
 
(NSBezierPath *) - bezierPathByTrimmingFromLength:withMaximumError:
 
(NSBezierPath *) - bezierPathByTrimmingToLength:
 
(NSBezierPath *) - bezierPathByTrimmingToLength:withMaximumError:
 
(NSBezierPath *) - bezierPathWithArrowHeadForEndOfLength:angle:closingPath:
 
(NSBezierPath *) - bezierPathWithArrowHeadForStartOfLength:angle:closingPath:
 
(NSBezierPath *) - bezierPathWithFragmentedLineSegments:
 
(NSBezierPath *) - bezierPathWithRoughenedStrokeOutline:
 
(NSBezierPath *) - bezierPathWithWavelength:amplitude:spread:
 
(NSBezierPath *) - bezierPathWithZig:zag:
 
(NSPoint) - centreOfBounds
 
(NSInteger- countSubPaths
 
(CGFloat- distanceFromStartOfPathAtPoint:tolerance:
 
(NSBezierPath *) - filletPathForVertex:filletSize:
 
(NSPoint) - firstPoint
 
(NSBezierPath *) - horizontallyFlippedPath
 
(NSBezierPath *) - horizontallyFlippedPathAboutPoint:
 
(NSBezierPath *) - insetPathBy:
 
(NSPoint) - lastPoint
 
(CGFloat- length
 
(CGFloat- lengthOfElement:
 
(CGFloat- lengthOfPathFromElement:toElement:
 
(CGFloat- lengthWithMaximumError:
 
(CGFloat- minimumCornerAngle
 
(CGMutablePathRef) - newMutableQuartzPath
 
(CGPathRef- newQuartzPath
 
(NSBezierPath *) - offsetPathWithStartingOffset2:endingOffset:
 
(NSBezierPath *) - offsetPathWithStartingOffset:endingOffset:
 
(NSBezierPath *) - paralleloidPathWithOffset22:
 
(NSBezierPath *) - paralleloidPathWithOffset2:
 
(NSBezierPath *) - paralleloidPathWithOffset:
 
(NSPoint) - pointOnPathAtLength:slope:
 
(NSInteger- pointWithinPathRegion:
 
(NSBezierPath *) - rotatedPath:
 
(NSBezierPath *) - rotatedPath:aboutPoint:
 
(NSBezierPath *) - scaledPath:
 
(NSBezierPath *) - scaledPath:aboutPoint:
 
(CGContextRef- setQuartzPath
 
(void) - setQuartzPathInContext:isNewPath:
 
(CGFloat- slopeStartingPath
 
(NSBezierPath *) - strokedPath
 
(NSBezierPath *) - strokedPathWithStrokeWidth:
 
(NSArray *) - subPaths
 
(NSBezierPath *) - verticallyFlippedPath
 
(NSBezierPath *) - verticallyFlippedPathAboutPoint:
 

Class Methods

(NSBezierPath *) + bezierPathWithCGPath:
 
(NSBezierPath *) + bezierPathWithPathFromContext:
 

Detailed Description

Author
Contributions from the community; see CONTRIBUTORS.md
Date
2005-2015

Method Documentation

- (void) addInverseClip
- (void) appendBezierPathRemovingInitialMoveToPoint: (NSBezierPath *)  path
- (NSBezierPath*) bezierPathByInterpolatingPath: (CGFloat amount
- (NSBezierPath*) bezierPathByIteratingWithDelegate: (id delegate
contextInfo: (void *)  contextInfo 
- (NSBezierPath*) bezierPathByRandomisingPoints: (CGFloat maxAmount
- (NSBezierPath*) bezierPathByTrimmingFromBothEnds: (CGFloat trimLength
- (NSBezierPath*) bezierPathByTrimmingFromBothEnds: (CGFloat trimLength
withMaximumError: (CGFloat maxError 
- (NSBezierPath*) bezierPathByTrimmingFromCentre: (CGFloat trimLength
- (NSBezierPath*) bezierPathByTrimmingFromCentre: (CGFloat trimLength
withMaximumError: (CGFloat maxError 
- (NSBezierPath*) bezierPathByTrimmingFromLength: (CGFloat trimLength
- (NSBezierPath*) bezierPathByTrimmingFromLength: (CGFloat startLength
toLength: (CGFloat newLength 
- (NSBezierPath*) bezierPathByTrimmingFromLength: (CGFloat startLength
toLength: (CGFloat newLength
withMaximumError: (CGFloat maxError 
- (NSBezierPath*) bezierPathByTrimmingFromLength: (CGFloat trimLength
withMaximumError: (CGFloat maxError 
- (NSBezierPath*) bezierPathByTrimmingToLength: (CGFloat trimLength
- (NSBezierPath*) bezierPathByTrimmingToLength: (CGFloat trimLength
withMaximumError: (CGFloat maxError 
- (NSBezierPath*) bezierPathWithArrowHeadForEndOfLength: (CGFloat length
angle: (CGFloat angle
closingPath: (BOOL closeit 
- (NSBezierPath*) bezierPathWithArrowHeadForStartOfLength: (CGFloat length
angle: (CGFloat angle
closingPath: (BOOL closeit 
+ (NSBezierPath*) bezierPathWithCGPath: (CGPathRef path
- (NSBezierPath*) bezierPathWithFragmentedLineSegments: (CGFloat flatness
+ (NSBezierPath*) bezierPathWithPathFromContext: (CGContextRef context
- (NSBezierPath*) bezierPathWithRoughenedStrokeOutline: (CGFloat amount
- (NSBezierPath*) bezierPathWithWavelength: (CGFloat lambda
amplitude: (CGFloat amp
spread: (CGFloat spread 
- (NSBezierPath*) bezierPathWithZig: (CGFloat zig
zag: (CGFloat zag 
- (NSPoint) centreOfBounds
- (NSInteger) countSubPaths
- (CGFloat) distanceFromStartOfPathAtPoint: (NSPoint)  p
tolerance: (CGFloat tol 
- (NSBezierPath*) filletPathForVertex: (NSPoint[])  vp
filletSize: (CGFloat fs 
- (NSPoint) firstPoint
- (NSBezierPath*) horizontallyFlippedPath
- (NSBezierPath*) horizontallyFlippedPathAboutPoint: (NSPoint)  cp
- (NSBezierPath*) insetPathBy: (CGFloat amount
- (NSPoint) lastPoint
- (CGFloat) length
- (CGFloat) lengthOfElement: (NSInteger i
- (CGFloat) lengthOfPathFromElement: (NSInteger startElement
toElement: (NSInteger endElement 
- (CGFloat) lengthWithMaximumError: (CGFloat maxError
- (CGFloat) minimumCornerAngle
- (CGMutablePathRef) newMutableQuartzPath
- (CGPathRef) newQuartzPath
- (NSBezierPath*) offsetPathWithStartingOffset2: (CGFloat delta1
endingOffset: (CGFloat delta2 
- (NSBezierPath*) offsetPathWithStartingOffset: (CGFloat delta1
endingOffset: (CGFloat delta2 
- (NSBezierPath*) paralleloidPathWithOffset22: (CGFloat delta
- (NSBezierPath*) paralleloidPathWithOffset2: (CGFloat delta
- (NSBezierPath*) paralleloidPathWithOffset: (CGFloat delta
- (NSPoint) pointOnPathAtLength: (CGFloat length
slope: (CGFloat *)  slope 
- (NSInteger) pointWithinPathRegion: (NSPoint)  p
- (NSBezierPath*) rotatedPath: (CGFloat angle
- (NSBezierPath*) rotatedPath: (CGFloat angle
aboutPoint: (NSPoint)  cp 
- (NSBezierPath*) scaledPath: (CGFloat scale
- (NSBezierPath*) scaledPath: (CGFloat scale
aboutPoint: (NSPoint)  cp 
- (CGContextRef) setQuartzPath
- (void) setQuartzPathInContext: (CGContextRef context
isNewPath: (BOOL np 
- (CGFloat) slopeStartingPath
- (NSBezierPath*) strokedPath
- (NSBezierPath*) strokedPathWithStrokeWidth: (CGFloat width
- (NSArray*) subPaths
- (NSBezierPath*) verticallyFlippedPath
- (NSBezierPath*) verticallyFlippedPathAboutPoint: (NSPoint)  cp