Declaration

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

Declaration

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

Declaration

calculateIntersectionsStartPoint_endPoint_decompose_ignoreLocked_clipToBound_ignoreComponents_(
    startPoint: NSPoint,
    endPoint: NSPoint,
    decompose: bool,
    ignoreLocked: bool,
    clipToBound: bool,
    ignoreComponents: 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.

ignoreComponents

Whether to exclude component shapes.

Discussion

The returned point array includes startPoint and endPoint. ignoreComponents applies only when decompose is NO.

See Also

Intersections