Instance Method
calculateIntersectionsStart(_:end:decompose:ignoreLocked:clipToBound:) calculateIntersectionsStartPoint:endPoint:decompose:ignoreLocked:clipToBound: calculateIntersectionsStartPoint_endPoint_decompose_ignoreLocked_clipToBound_
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) -> FTPointArrayDeclaration
- (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) -> 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.
Discussion
The returned point array includes startPoint and endPoint.
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.