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

Documentation SVGPreserveAspectRatio by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Static variables

@:value(1)staticinlineread onlySVG_MEETORSLICE_MEET:Int = 1

@:value(2)staticinlineread onlySVG_MEETORSLICE_SLICE:Int = 2

@:value(0)staticinlineread onlySVG_MEETORSLICE_UNKNOWN:Int = 0

@:value(1)staticinlineread onlySVG_PRESERVEASPECTRATIO_NONE:Int = 1

@:value(0)staticinlineread onlySVG_PRESERVEASPECTRATIO_UNKNOWN:Int = 0

@:value(10)staticinlineread onlySVG_PRESERVEASPECTRATIO_XMAXYMAX:Int = 10

@:value(7)staticinlineread onlySVG_PRESERVEASPECTRATIO_XMAXYMID:Int = 7

@:value(4)staticinlineread onlySVG_PRESERVEASPECTRATIO_XMAXYMIN:Int = 4

@:value(9)staticinlineread onlySVG_PRESERVEASPECTRATIO_XMIDYMAX:Int = 9

@:value(6)staticinlineread onlySVG_PRESERVEASPECTRATIO_XMIDYMID:Int = 6

@:value(3)staticinlineread onlySVG_PRESERVEASPECTRATIO_XMIDYMIN:Int = 3

@:value(8)staticinlineread onlySVG_PRESERVEASPECTRATIO_XMINYMAX:Int = 8

@:value(5)staticinlineread onlySVG_PRESERVEASPECTRATIO_XMINYMID:Int = 5

@:value(2)staticinlineread onlySVG_PRESERVEASPECTRATIO_XMINYMIN:Int = 2

Variables