mardi 30 août 2016

Rect class should have Width and Height properties

The current Rect class has the properties:
Bottom, CenterX, CenterY, Left, Right, Top

I'd like to see Width and Height properties added so if you set Width, it will automatically adjust the Right property wrt Left property. If you read the Width it will return Right-Left. Similar for Height. So it does not have to store Width or Height, but when writing to Width/Height it will adjust the current Right/Bottom properties. When it reads from Width/Height it will just calculate the value from...

Rect class should have Width and Height properties

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2bCaK6K
via IFTTT

Aucun commentaire:

Enregistrer un commentaire