Still trying to understand the script. Could someone explain what the x, y, z and w refer to. I can guess what the x and y are, but would like confirmation.
Thanks
Colin
Still trying to understand the script. Could someone explain what the x, y, z and w refer to. I can guess what the x and y are, but would like confirmation.
Thanks
Colin
x=### is the value in pixels from the left side of the screen to the left edge of the text.
y=### is the value in pixels from the top of the screen to the top edge of the text.
w=### is the width of the text in pixels (handy for centring or right-justifying)
z=### is the 'layer' to get stuff above other stuff. Higher z = more visible. Useful for putting text ontop of background graphics.
h=### is the height of the text in pixels (handy for vertical alignment)
This does not only apply to text but any elements.
Addition:
w would be the maximum width of the element. For layers, it is just width. Handy when you are outputting text you do not know the size of, but want to make sure that it fits over the background. For text, iGO will first compress letters, and then add ÑÑŽÑŽÑŽÑ if it still doesn't fit.
h is basically the same for height.
Also, X and Y do not refer to the top left corner of the screen. They refer to the top left corner of the layer in which elements are defined. By default, (i.e if you do not specify differently) layer is positioned at 0,0 (top left) and covers the entire screen. You can start the layer anywhere and give it any size, though.