I quite often need to use a Point construct that holds 2 values. They are usually Doubles, but Floats would be fine if that's is more cross platform compatible.
I have used Types for this as needed, but end up with the same types in different libraries and then either have to go back and create a dependency and remove one of them, or rename one, or just use an array, which is quite an ugly solution.
It would be far better from a library perspective it there was a B4xPoint(X,Y) object in the XUI library along with B4xRect, which I am using more and more when dealing with Bounds etc. as well as drawing.
I have used Types for this as needed, but end up with the same types in different libraries and then either have to go back and create a dependency and remove one of them, or rename one, or just use an array, which is quite an ugly solution.
It would be far better from a library perspective it there was a B4xPoint(X,Y) object in the XUI library along with B4xRect, which I am using more and more when dealing with Bounds etc. as well as drawing.