Instance Method
intersectionsWithLine(from:to:) intersectionsWithLineFrom:to: intersectionsWithLineFrom_to_
Intersections between the transformed component representation and a line segment.
Declaration
func intersectionsWithLine(from startPoint: NSPoint, to endPoint: NSPoint) -> FTPointArrayDeclaration
- (FTPointArray *) intersectionsWithLineFrom:(NSPoint) startPoint to:(NSPoint) endPoint;Declaration
intersectionsWithLineFrom_to_(startPoint: NSPoint, endPoint: NSPoint) -> FTPointArrayDiscussion
Closed paths, open paths, and any placeholder representation are included. Returns an empty point array when there are no intersections.
See Also
Geometry
The bounds of the transformed component representation.
Whether the closed-path representation crosses that of another component.
Whether the closed-path representation crosses that of another component without first comparing their bounds.