* Constrains {@code elem} to the specified size and aligns it relative to the given position
* using the given alignments.
*/
public static <T extends Element<?>> T at (T elem, float x, float y, float width, float height,
HAlign halign, VAlign valign) {
return at(elem, new Point(x, y), new Dimension(width, height), halign, valign);
}