Top
You are looking at an outdated 7.9.0 version of this document. Switch to the 8.0.1 version to see the up to date information.

[enum] anychart.graphics.vector.Image.Fitting Improve this Doc

Fitting mode.

Try it:

Name Value Description
MEET 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 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.