Declaration

func connect(with otherSegment: GSPathSegment, force: Bool, miterFactor: CGFloat, newPoint: UnsafeMutablePointer<NSPoint>?) -> Bool

Declaration

- (BOOL) connectWithSegment:(GSPathSegment *) otherSegment force:(BOOL) force miterFactor:(CGFloat) miterFactor newPoint:(NSPoint *) newPoint;

Declaration

connectWithSegment_force_miterFactor_newPoint_(otherSegment: GSPathSegment, force: bool, miterFactor: float, newPoint: NSPoint) -> bool

Parameters

otherSegment

otherSegment

force

If YES, it used a less precise geometry

miterFactor

The miter limit, default: 10 (like Illustrator, default in SVG is 4)

newPoint

On return, the position of the connection

Return Value

Returns YES if a connection was found