SVGPreserveAspectRatio interface corresponds to the
preserveAspectRatio attribute, which is available for some of SVG's elements.
SVGPreserveAspectRatio object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown.
|Name ||Type ||Description |
|unsigned short || The type of the alignment value as specified by one of the |
SVG_PRESERVEASPECTRATIO_* constants defined on this interface.
|unsigned short || The type of the meet-or-slice value as specified by one of the |
SVG_MEETORSLICE_* constants defined on this interface.
Exceptions on setting: a
DOMException with code
NO_MODIFICATION_ALLOWED_ERR is raised on an attempt to change the value of an attribute on a read only object.
SVGPreserveAspectRatio interface do not provide any specific methods.