설명

Crop the canvas area either horizontally or vertically, so the size of the canvas will never be larger than the reference.