Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.SVGPreserveAspectRatio

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.SVGPreserveAspectRatio
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { SVGPreserveAspectRatio } = dom;

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