Declaration

func calculateIntersectionsStart(
    _ startPoint: NSPoint,
    end endPoint: NSPoint,
    decompose: Bool,
    ignoreLocked: Bool,
    clipToBound: Bool
) -> FTPointArray

Declaration

- (FTPointArray *) calculateIntersectionsStartPoint:(NSPoint) startPoint
                                           endPoint:(NSPoint) endPoint
                                          decompose:(BOOL) decompose
                                       ignoreLocked:(BOOL) ignoreLocked
                                        clipToBound:(BOOL) clipToBound;

Declaration

calculateIntersectionsStartPoint_endPoint_decompose_ignoreLocked_clipToBound_(
    startPoint: NSPoint,
    endPoint: NSPoint,
    decompose: bool,
    ignoreLocked: bool,
    clipToBound: bool
) -> FTPointArray

Parameters

startPoint

The start of the line segment in layer coordinates.

endPoint

The end of the line segment in layer coordinates.

decompose

Whether to decompose components before calculating intersections.

ignoreLocked

Whether to exclude locked and out-of-focus shapes.

clipToBound

Whether to limit the inspected line segment to the layer bounds.

Discussion

The returned point array includes startPoint and endPoint.

See Also

Intersections