Instance Method
calculateIntersectionsStart(_:end:decompose:ignoreLocked:clipToBound:ignoreComponents:) calculateIntersectionsStartPoint:endPoint:decompose:ignoreLocked:clipToBound:ignoreComponents: calculateIntersectionsStartPoint_endPoint_decompose_ignoreLocked_clipToBound_ignoreComponents_
Points where a line segment intersects the outlines of the layer.
Declaration
func calculateIntersectionsStart(_ startPoint: NSPoint, end endPoint: NSPoint, decompose: Bool, ignoreLocked: Bool, clipToBound: Bool, ignoreComponents: Bool) -> FTPointArrayDeclaration
- (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) -> FTPointArrayParameters
startPointThe start of the line segment in layer coordinates.
endPointThe end of the line segment in layer coordinates.
decomposeWhether to decompose components before calculating intersections.
ignoreLockedWhether to exclude locked and out-of-focus shapes.
clipToBoundWhether to limit the inspected line segment to the layer bounds.
ignoreComponentsWhether to exclude component shapes.
Discussion
The returned point array includes startPoint and endPoint. ignoreComponents applies only when decompose is NO.
See Also
Intersections
Points where a line segment intersects the outlines of the layer.
Points where a line segment intersects the outlines of the layer.
Points where segments of the layer outlines intersect each other.