public static Rectangle position(Rectangle outer, Rectangle inner, Alignment horizontalAlignment, Alignment verticalAlignment) {
		switch (horizontalAlignment) {
			case LEFT_TOP:
			default:
				inner.x = outer.x;
				break;
			case CENTER:
				inner.x = outer.x + (outer.width - inner.width) / 2;
				break;
			case RIGHT_BOTTOM:
				inner.x = outer.x + outer.width - inner.width;
				break;
		}
		switch (verticalAlignment) {
			case LEFT_TOP:
			default:
				inner.y = outer.y;
				break;
			case CENTER:
				inner.y = outer.y + (outer.height - inner.height) / 2;
				break;
			case RIGHT_BOTTOM:
				inner.y = outer.y + outer.height - inner.height;
				break;
		}
		return inner;
	}