W3cubDocs

/Dart 2

PreserveAspectRatio class

Annotations
  • @Unstable()
  • @Native("SVGPreserveAspectRatio")

Properties

alignint
read / write
meetOrSliceint
read / write
hashCodeint
read-only, inherited
The hash code for this object. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
toString() → String
inherited
Returns a string representation of this object.

Operators

operator ==(dynamic other) → bool
inherited
The equality operator. [...]

Constants

SVG_MEETORSLICE_MEET → const int
1
SVG_MEETORSLICE_SLICE → const int
2
SVG_MEETORSLICE_UNKNOWN → const int
0
SVG_PRESERVEASPECTRATIO_NONE → const int
1
SVG_PRESERVEASPECTRATIO_UNKNOWN → const int
0
SVG_PRESERVEASPECTRATIO_XMAXYMAX → const int
10
SVG_PRESERVEASPECTRATIO_XMAXYMID → const int
7
SVG_PRESERVEASPECTRATIO_XMAXYMIN → const int
4
SVG_PRESERVEASPECTRATIO_XMIDYMAX → const int
9
SVG_PRESERVEASPECTRATIO_XMIDYMID → const int
6
SVG_PRESERVEASPECTRATIO_XMIDYMIN → const int
3
SVG_PRESERVEASPECTRATIO_XMINYMAX → const int
8
SVG_PRESERVEASPECTRATIO_XMINYMID → const int
5
SVG_PRESERVEASPECTRATIO_XMINYMIN → const int
2

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-svg/PreserveAspectRatio-class.html