Compute the height for the element if restricted to the specified width.
Compute the height for the element if restricted to the specified width.
Compute the width for the element if restricted to the specified height.
Compute the width for the element if restricted to the specified height.
(Since version ) see corresponding Javadoc for more information.