Sets the max width allocated to the image in the image model. If the image's width is smaller than the max width, the image will be aligned according to alignment.
Sets the max width allocated to the image in the image model. If the image's width is smaller than the max width, the image will be aligned according to alignment.
Parameters:
model
an image model
width
the max width of the image of the model. 0 or a negative value to make Etk compute the width of each image
alignment
the horizontal alignment of the image, used if its width is smaller than the max width, from 0.0 (left alignment) to 1.0 (right alignment)