GSPathSegment Class Reference
Inherits from | NSObject |
Conforms to | NSCopying |
Declared in | GSPathSegment.h |
Instance Methods
connectWithSegment:force:miterLimit:newPoint:
is used in makeCorner and offset paths to connect the segments when there is a gap
- (BOOL)connectWithSegment:(GSPathSegment
*)otherSegment force:(BOOL)force
miterLimit:(CGFloat)miterLimit newPoint:(NSPoint
*)newPoint
Parameters
- otherSegment
-
otherSegment
- force
-
if YES, it used a less precice geometry
- miterLimit
-
the miter limit
Return Value
returns YES if a connection was found