SVGPreserveAspectRatio Interface
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.
Static Fields
Code final int SVG_PRESERVEASPECTRATIO_UNKNOWN #
static final int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0;
Code final int SVG_PRESERVEASPECTRATIO_XMAXYMAX #
static final int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10;
Code final int SVG_PRESERVEASPECTRATIO_XMAXYMID #
static final int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7;
Code final int SVG_PRESERVEASPECTRATIO_XMAXYMIN #
static final int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4;
Code final int SVG_PRESERVEASPECTRATIO_XMIDYMAX #
static final int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9;
Code final int SVG_PRESERVEASPECTRATIO_XMIDYMID #
static final int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6;
Code final int SVG_PRESERVEASPECTRATIO_XMIDYMIN #
static final int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3;
Code final int SVG_PRESERVEASPECTRATIO_XMINYMAX #
static final int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8;
Code final int SVG_PRESERVEASPECTRATIO_XMINYMID #
static final int SVG_PRESERVEASPECTRATIO_XMINYMID = 5;
Code final int SVG_PRESERVEASPECTRATIO_XMINYMIN #
static final int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2;
Fields
Code int align #
int align;
Code int meetOrSlice #
int meetOrSlice;
This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.