2019-03-10 23:27:50 +01:00
|
|
|
var AspectRatio = Object.freeze({
|
2020-10-21 19:46:25 +02:00
|
|
|
Initial: -1, // page default
|
|
|
|
Reset: 0, // reset to initial
|
|
|
|
Automatic: 1, // set by Aard
|
|
|
|
FitWidth: 2, // legacy/dynamic: fit to width
|
|
|
|
FitHeight: 3, // legacy/dynamic: fit to height
|
|
|
|
Fixed: 4, // pre-determined aspect ratio
|
|
|
|
Manual: 5, // ratio achieved by zooming in/zooming out
|
2019-03-10 23:27:50 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
export default AspectRatio;
|