[enum] anychart.graphics.vector.Image.FittingImprove this Doc
Fitting mode.
Try it:
| Value | Description | Example |
|---|---|---|
| meet | Aspect ratio is preserved. The entire ‘viewBox’ is visible within the viewport. The ‘viewBox’ is scaled up as much as possible, while still meeting the other criteria. | |
| slice | Aspect ratio is preserved. The entire viewport is covered by the ‘viewBox’. The ‘viewBox’ is scaled down as much as possible, while still meeting the other criteria. |
