SVGPreserveAspectRatio class
SVGPreserveAspectRatio class
The SVGPreserveAspectRatio interface corresponds to the ‘preserveAspectRatio’ attribute, which is available for some of SVG’s elements.
Inheritance: SVGPreserveAspectRatio
→
SVGValueType
→
DOMObject
The SVGPreserveAspectRatio type exposes the following members:
Properties
Property | Description |
---|---|
align | The type of the alignment value as specified by one of the SVG_PRESERVEASPECTRATIO_* constants defined on this interface. |
meet_or_slice | The type of the meet-or-slice value as specified by one of the SVG_MEETORSLICE_* constants defined on this interface. |
SVG_PRESERVEASPECTRATIO_UNKNOWN | The 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. |
SVG_PRESERVEASPECTRATIO_NONE | Corresponds to value ’none’ for attribute ‘preserveAspectRatio’. |
SVG_PRESERVEASPECTRATIO_XMINYMIN | Corresponds to value ‘xMinYMin’ for attribute ‘preserveAspectRatio’. |
SVG_PRESERVEASPECTRATIO_XMIDYMIN | Corresponds to value ‘xMidYMin’ for attribute ‘preserveAspectRatio’. |
SVG_PRESERVEASPECTRATIO_XMAXYMIN | Corresponds to value ‘xMaxYMin’ for attribute ‘preserveAspectRatio’. |
SVG_PRESERVEASPECTRATIO_XMINYMID | Corresponds to value ‘XMinYMid’ for attribute ‘preserveAspectRatio’. |
SVG_PRESERVEASPECTRATIO_XMIDYMID | Corresponds to value ‘xMidYMid’ for attribute ‘preserveAspectRatio’. |
SVG_PRESERVEASPECTRATIO_XMAXYMID | Corresponds to value ‘xMaxYMid’ for attribute ‘preserveAspectRatio’. |
SVG_PRESERVEASPECTRATIO_XMINYMAX | Corresponds to value ‘xMinYMax’ for attribute ‘preserveAspectRatio’. |
SVG_PRESERVEASPECTRATIO_XMIDYMAX | Corresponds to value ‘xMidYMax’ for attribute ‘preserveAspectRatio’. |
SVG_PRESERVEASPECTRATIO_XMAXYMAX | Corresponds to value ‘xMaxYMax’ for attribute ‘preserveAspectRatio’. |
SVG_MEETORSLICE_UNKNOWN | The 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. |
SVG_MEETORSLICE_MEET | Corresponds to value ‘meet’ for attribute ‘preserveAspectRatio’. |
SVG_MEETORSLICE_SLICE | Corresponds to value ‘slice’ for attribute ‘preserveAspectRatio’. |
Methods
Method | Description |
---|---|
get_platform_type | This method is used to retrieve ECMAScript object Type. |
See Also
- module
aspose.html.dom.svg.datatypes
- class
DOMObject
- class
SVGPreserveAspectRatio
- class
SVGValueType