public override Path getOuterPath(Rect hostRect, Rect guestRect) { Path hostPath = host.getOuterPath(hostRect); if (guest != null && guestRect != null) { Path guestPath = guest.getOuterPath(guestRect); return(Path.combine(PathOperation.difference, hostPath, guestPath)); } return(hostPath); }
public override Path getClipPath(Rect rect, TextDirection textDirection) { return(shape.getOuterPath(rect)); }