Fill

data object Fill : LayoutScale

Pixels cropped from the input frame, until the desired aspect ratio is achieved. Pixels may be cropped either from the bottom and top, or from the left and right sides, of the input frame.

When cropping from the:

  • bottom and top, the output width will default to the input width, and the output height will be scaled appropriately.

  • left and right, the output height will default to the input height, and the output width will be scaled appropriately.