There are some cases that are very hard to distinguish between.
This is because horizontal lines (which may not be just on the top or bottom) generate a border point for every point on the horizontal.
This becomes problematic when ranges are brought into the picture.
Should the range be extended from the horizontal set to the single point on the other size?
Ex: [45, 46, 47, 112]
Does it go from 45 - 112 ?
45 - 47, 112 ?
Not to mention, that this does not handle multiple range cases without horizontals like:
[45, 66, 77, 88].
This could be: 45 - 66, 77 - 88
or 45, 66 - 77, 88
There are some cases that are very hard to distinguish between.
This is because horizontal lines (which may not be just on the top or bottom) generate a border point for every point on the horizontal. This becomes problematic when ranges are brought into the picture.
Should the range be extended from the horizontal set to the single point on the other size?
Ex: [45, 46, 47, 112] Does it go from 45 - 112 ? 45 - 47, 112 ?
Not to mention, that this does not handle multiple range cases without horizontals like: [45, 66, 77, 88]. This could be: 45 - 66, 77 - 88 or 45, 66 - 77, 88
This method needs more support from getOutline().