ComputeNotch typedef

Path ComputeNotch (Rect host, Rect guest, Offset start, Offset end)

Returns a path for a notch in the outline of a shape.

The path makes a notch in the host shape that can contain the guest shape.

The host is the bounding rectangle for the shape into which the notch will be applied. The guest is the bounding rectangle of the shape for which we are creating a notch in the host.

The start and end arguments are points on the outline of the host shape that will be connected by the returned path.

The returned path may pass anywhere, including inside the guest bounds area, and may contain multiple subpaths. The returned path ends at end and does not end with a Path.close. The returned Path is built under the assumption it will be added to an existing path that is at the start coordinates using Path.addPath.