W3cubDocs

/Haxe JavaScript

PreserveAspectRatio

package js.html.svg

@:native("SVGPreserveAspectRatio") 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:

Variables

align:Int

meetOrSlice:Int

Static variables

@:value(1) static inline read only SVG_MEETORSLICE_MEET:Int = 1

@:value(2) static inline read only SVG_MEETORSLICE_SLICE:Int = 2

@:value(0) static inline read only SVG_MEETORSLICE_UNKNOWN:Int = 0

@:value(1) static inline read only SVG_PRESERVEASPECTRATIO_NONE:Int = 1

@:value(0) static inline read only SVG_PRESERVEASPECTRATIO_UNKNOWN:Int = 0

@:value(10) static inline read only SVG_PRESERVEASPECTRATIO_XMAXYMAX:Int = 10

@:value(7) static inline read only SVG_PRESERVEASPECTRATIO_XMAXYMID:Int = 7

@:value(4) static inline read only SVG_PRESERVEASPECTRATIO_XMAXYMIN:Int = 4

@:value(9) static inline read only SVG_PRESERVEASPECTRATIO_XMIDYMAX:Int = 9

@:value(6) static inline read only SVG_PRESERVEASPECTRATIO_XMIDYMID:Int = 6

@:value(3) static inline read only SVG_PRESERVEASPECTRATIO_XMIDYMIN:Int = 3

@:value(8) static inline read only SVG_PRESERVEASPECTRATIO_XMINYMAX:Int = 8

@:value(5) static inline read only SVG_PRESERVEASPECTRATIO_XMINYMID:Int = 5

@:value(2) static inline read only SVG_PRESERVEASPECTRATIO_XMINYMIN:Int = 2

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