the position is defined as a X component and an Y component, of which both have a Scale and an Offset.
Scale is given a decimal number between 1 and 0, 1 being entire length of its parent frame and any decimal lower the corresponding percent (0.5 being 50%)
Offset is given an amount of pixels, without changing size on different frame sizes
To combine these two into a size and a position, they're arranged as follows;
size = {Scale of X, Offset of X, Scale of Y, Offset of Y}
offset = {Scale of X, Offset of X, Scale of Y, Offset of Y}
something that fills the entire screen (scale set to Y) has it as follows;
{1,0,1,0}
where something of 10 pixels high by 10 pixels wide;
{0,10,0,10}
They can be combined as well |