svg.PreserveAspectRatio

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:

Variables

align:Int

meetOrSlice:Int

Static variables

static inline read only SVG_MEETORSLICE_MEET:Int = 1

static inline read only SVG_MEETORSLICE_SLICE:Int = 2

static inline read only SVG_MEETORSLICE_UNKNOWN:Int = 0

static inline read only SVG_PRESERVEASPECTRATIO_NONE:Int = 1

static inline read only SVG_PRESERVEASPECTRATIO_UNKNOWN:Int = 0

static inline read only SVG_PRESERVEASPECTRATIO_XMAXYMAX:Int = 10

static inline read only SVG_PRESERVEASPECTRATIO_XMAXYMID:Int = 7

static inline read only SVG_PRESERVEASPECTRATIO_XMAXYMIN:Int = 4

static inline read only SVG_PRESERVEASPECTRATIO_XMIDYMAX:Int = 9

static inline read only SVG_PRESERVEASPECTRATIO_XMIDYMID:Int = 6

static inline read only SVG_PRESERVEASPECTRATIO_XMIDYMIN:Int = 3

static inline read only SVG_PRESERVEASPECTRATIO_XMINYMAX:Int = 8

static inline read only SVG_PRESERVEASPECTRATIO_XMINYMID:Int = 5

static inline read only SVG_PRESERVEASPECTRATIO_XMINYMIN:Int = 2

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部