Support specifying horizontal and vertical scaling individually