tabula-java
tabula-java copied to clipboard
Rectangle class has wrong constructor
The 4 parameters constructor of the class Rectangle calls the method setRect with a wrong order.
the constructor is Rectangle(float top, float left, float width, float height)
but it calls the method with a twisted order thiss.setRect(left, top, width, height);
@fabcan I believe this all works correctly; the Rectangle2D class is what defines setRect and it wants the x coord first. The Rectangle class is defined in Tabula and takes the top coordinate first. Am I missing something?
@jeremybmerrill I think it's confusing to use different ordering systems, but it's probably too late to change it