We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In generic.py on line 727, it's like that:
def getHeight(self): return self.getUpperRight_y() - self.getLowerLeft_x()
And should be like that (the "x" change to "y" at the end):
def getHeight(self): return self.getUpperRight_y() - self.getLowerLeft_y()
Also both getWidth() and getHeight() output should be wrap in abs() like that:
getWidth()
getHeight()
abs()
def getHeight(self): return abs(self.getUpperRight_y() - self.getLowerLeft_y())
And we could add properties to make the thing more pleasant:
@property def width(self): return self.getWidth() @property def height(self): return self.getHeight()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In generic.py on line 727, it's like that:
And should be like that (the "x" change to "y" at the end):
Also both
getWidth()
andgetHeight()
output should be wrap inabs()
like that:And we could add properties to make the thing more pleasant:
The text was updated successfully, but these errors were encountered: