Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SVGPreserveAspectRatio

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

interface SVGPreserveAspectRatio {
align: number;
meetOrSlice: number;
readonly SVG_MEETORSLICE_MEET: number;
readonly SVG_MEETORSLICE_SLICE: number;
readonly SVG_MEETORSLICE_UNKNOWN: number;
readonly SVG_PRESERVEASPECTRATIO_NONE: number;
readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;
}
var SVGPreserveAspectRatio: {
readonly SVG_MEETORSLICE_MEET: number;
readonly SVG_MEETORSLICE_SLICE: number;
readonly SVG_MEETORSLICE_UNKNOWN: number;
readonly SVG_PRESERVEASPECTRATIO_NONE: number;
readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number;
readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number;
}
;

§Properties

§
align: number
[src]
§
meetOrSlice: number
[src]
§
readonly SVG_MEETORSLICE_MEET: number
[src]
§
readonly SVG_MEETORSLICE_SLICE: number
[src]
§
readonly SVG_MEETORSLICE_UNKNOWN: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_NONE: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_XMINYMID: number
[src]
§
readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: number
[src]