Enumeration ImageStretch

GoJS® Diagramming Components
version 3.0.14
by Northwoods Software®

This enumeration specifies possible values for Picture.imageStretch.

since

3.0

Index

Enumeration Members

Enumeration Members

Scale the image in both directions so as to fit exactly in the given bounds; there is no clipping, but the aspect ratio may change, causing the image to appear stretched.

Do not scale the image; there may be clipping in one or both directions if the available dimensions are too small.

Scale the image equally in both directions to fit the larger side of the image bounds.

Scale the image equally in both directions to fit the arranged (actual) bounds. There may be clipping in one dimension.