-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return the n biggest rectangles #27
Comments
Can you make a sketch to describe what excatly you need ? |
Yes. Actually I am trying to find a large horizontal "empty" area outside the main object(like the man in below picture) to put some words in it. In this figure, the blue rectangle is the largest rectangle computed by lir, it seems too narrow if I put some words in it. So in this example, maybe the green rectangle( the largest horizontal rectangle) which is indeed smaller than blue one is better for my needs. Thanks a lot. |
I think there should be the possibility to return multiple rectangles ordered by size |
Yes, that will be great. |
I would love this as well. As the reporter said, having the widest available rectangle is very useful for finding where text can be placed. If a list of rectangles is returned I imagine you don't even really need to sort them, the caller can sift through them to find the widest themselves. |
First of all, many thanks for your project which help me a lot in my work. And I have a question that, is there any way to find the largest horizon rectangle inside a shape? I need a horizon rectangle to put some words in it.
Thanks,
Mi
The text was updated successfully, but these errors were encountered: