Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface SVGPreserveAspectRatio
import { type SVGPreserveAspectRatio } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";

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

Properties

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