Fill (fill)
The Fill property specifies how an image fills an area.
In the Properties view, this property is the Fill property in the Image category.
Replaces the previous property tile. When a document containing the tile property is opened in version 2.4x or higher, it is automatically replaced with this property.
This property is relevant when both x-Size and y-Size are set so that the outer image bounds are defined.
Type: Enum. The value can be one of:
- completely - The images is resized to fill the specified area. The aspect ratio is not respected.
- preserveAspectRatio - The images is resized to fit the specified area. The aspect ratio is respected. Setting the attributes X-Size_Adjustment and Y-Size_Adjustment to a value of "shrinkToChildren" will shrink the final bounds of the box so that it has the same size as the image.
- tile - The image is painted as tiles into the specified area.
- clip - The image is painted without scaling, and it is clipped at the edges of the specified area if it is too large to fit.