SVGPreserveAspectRatio

@native @JSGlobal @JSType
class SVGPreserveAspectRatio extends Object

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

Companion:
object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object

Concrete fields

var align: Int

The type of the alignment value as specified by one of the SVG_PRESERVEASPECTRATIO_* constants defined on this interface.

The type of the alignment value as specified by one of the SVG_PRESERVEASPECTRATIO_* constants defined on this interface.

var meetOrSlice: Int

The type of the meet-or-slice value as specified by one of the SVG_MEETORSLICE_* constants defined on this interface.

The type of the meet-or-slice value as specified by one of the SVG_MEETORSLICE_* constants defined on this interface.