Use getSize() to get interpreted values.
Sorry David, you have for me, as stupid Java programmer, to show a fully coded example!
For me is the use of the global variable
orientation much more attractive!
"orientation" is a local variable, but by all means, use it if you prefer so. Here's a full example to get the visual width of the current object:
currentObject.getSize().getWidth()