SVGPreserveAspectRatio

The SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute.

MDN Reference

Types

Link copied to clipboard
sealed interface Align
Link copied to clipboard
object Companion
Link copied to clipboard
sealed interface MeetOrSlice

Properties

Link copied to clipboard

The align read-only property of the SVGPreserveAspectRatio interface reflects the type of the alignment value as specified by one of the SVG_PRESERVEASPECTRATIO_* constants defined on this interface.

Link copied to clipboard

The meetOrSlice read-only property of the SVGPreserveAspectRatio interface reflects the type of the meet-or-slice value as specified by one of the SVG_MEETORSLICE_* constants defined on this interface.