PreserveAspectRatio

extern class js.html.svg.PreserveAspectRatioAvailable in js

The SVGPreserveAspectRatio interface corresponds to the preserveAspectRatio attribute, which is available for some of SVG's elements.

An SVGPreserveAspectRatio object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown.



Documentation for this class was provided by MDN.
var align : IntThe type of the alignment value as specified by one of the SVG_PRESERVEASPECTRATIO_* constants defined on this interface. Setter throws DOMException. var meetOrSlice : IntThe type of the meet-or-slice value as specified by one of the SVG_MEETORSLICE_* constants defined on this interface. Setter throws DOMException. static inline var SVG_MEETORSLICE_MEET : IntCorresponds to value meet for attribute preserveAspectRatio. static inline var SVG_MEETORSLICE_SLICE : IntCorresponds to value slice for attribute preserveAspectRatio. static inline var SVG_MEETORSLICE_UNKNOWN : IntThe enumeration was set to a value that is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type. static inline var SVG_PRESERVEASPECTRATIO_NONE : IntCorresponds to value none for attribute preserveAspectRatio. static inline var SVG_PRESERVEASPECTRATIO_UNKNOWN : IntThe enumeration was set to a value that is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type. static inline var SVG_PRESERVEASPECTRATIO_XMAXYMAX : IntCorresponds to value xMaxYMax for attribute preserveAspectRatio. static inline var SVG_PRESERVEASPECTRATIO_XMAXYMID : IntCorresponds to value xMaxYMid for attribute preserveAspectRatio. static inline var SVG_PRESERVEASPECTRATIO_XMAXYMIN : IntCorresponds to value xMaxYMin for attribute preserveAspectRatio. static inline var SVG_PRESERVEASPECTRATIO_XMIDYMAX : IntCorresponds to value xMidYMax for attribute preserveAspectRatio. static inline var SVG_PRESERVEASPECTRATIO_XMIDYMID : IntCorresponds to value xMidYMid for attribute preserveAspectRatio. static inline var SVG_PRESERVEASPECTRATIO_XMIDYMIN : IntCorresponds to value xMidYMin for attribute preserveAspectRatio. static inline var SVG_PRESERVEASPECTRATIO_XMINYMAX : IntCorresponds to value xMinYMax for attribute preserveAspectRatio. static inline var SVG_PRESERVEASPECTRATIO_XMINYMID : IntCorresponds to value xMinYMid for attribute preserveAspectRatio. static inline var SVG_PRESERVEASPECTRATIO_XMINYMIN : IntCorresponds to value xMinYMin for attribute preserveAspectRatio.
version #18176, modified 2013-05-01 11:55:42 by api
0 comment