Interface SVGPreserveAspectRatio

Corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements.

MDN Reference

Properties

SVG_MEETORSLICE_MEET: 1
SVG_MEETORSLICE_SLICE: 2
SVG_MEETORSLICE_UNKNOWN: 0
SVG_PRESERVEASPECTRATIO_NONE: 1
SVG_PRESERVEASPECTRATIO_UNKNOWN: 0
SVG_PRESERVEASPECTRATIO_XMAXYMAX: 10
SVG_PRESERVEASPECTRATIO_XMAXYMID: 7
SVG_PRESERVEASPECTRATIO_XMAXYMIN: 4
SVG_PRESERVEASPECTRATIO_XMIDYMAX: 9
SVG_PRESERVEASPECTRATIO_XMIDYMID: 6
SVG_PRESERVEASPECTRATIO_XMIDYMIN: 3
SVG_PRESERVEASPECTRATIO_XMINYMAX: 8
SVG_PRESERVEASPECTRATIO_XMINYMID: 5
SVG_PRESERVEASPECTRATIO_XMINYMIN: 2
align: number
meetOrSlice: number