In almost all API's the fields width/height are in that order, with width first. Some examples: - http://msdn.microsoft.com/en-us/library/5e470e7f(v=vs.110).aspx - http://nullege.com/codes/search/shapes.rect - http://docs.oracle.com/javase/7/docs/api/java/awt/Dimension.html#Dimension(int,%20int) It's very surprising to see the fields the other way round.
In almost all API's the fields width/height are in that order, with width first. Some examples:
It's very surprising to see the fields the other way round.