PreserveAspectRatio

package js.html.svg

Available on js

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

staticinlineread onlySVG_MEETORSLICE_MEET:Int = 1

staticinlineread onlySVG_MEETORSLICE_SLICE:Int = 2

staticinlineread onlySVG_MEETORSLICE_UNKNOWN:Int = 0

staticinlineread onlySVG_PRESERVEASPECTRATIO_NONE:Int = 1

staticinlineread onlySVG_PRESERVEASPECTRATIO_UNKNOWN:Int = 0

staticinlineread onlySVG_PRESERVEASPECTRATIO_XMAXYMAX:Int = 10

staticinlineread onlySVG_PRESERVEASPECTRATIO_XMAXYMID:Int = 7

staticinlineread onlySVG_PRESERVEASPECTRATIO_XMAXYMIN:Int = 4

staticinlineread onlySVG_PRESERVEASPECTRATIO_XMIDYMAX:Int = 9

staticinlineread onlySVG_PRESERVEASPECTRATIO_XMIDYMID:Int = 6

staticinlineread onlySVG_PRESERVEASPECTRATIO_XMIDYMIN:Int = 3

staticinlineread onlySVG_PRESERVEASPECTRATIO_XMINYMAX:Int = 8

staticinlineread onlySVG_PRESERVEASPECTRATIO_XMINYMID:Int = 5

staticinlineread onlySVG_PRESERVEASPECTRATIO_XMINYMIN:Int = 2

Variables

align:Int

meetOrSlice:Int

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/PreserveAspectRatio.html