sets the component size
x | number | the component width |
y | number | the component height |
boolean | returns true if a new size differs from the previous one |
The method is used in the inner logic and not intended for direct use.
To set a new size, please define new width, height values and call
the resize method.