This is precisely what Flood Fill was designed for. Don’t use it for really complex paths, because it starts to get really messy, but for a simple outline it’s perfect.
You can also split the frame using the new Cut Shapes feature, or the boolean tools: