public final class

ZoomView.RotateMode

extends java.lang.Object

 java.lang.Object

↳androidx.pdf.widget.ZoomView.RotateMode

Overview

Different options for how the zoom should change or not change when screen rotates.

Summary

Fields
public static final intKEEP_SAME_VIEWPORT_HEIGHT

When rotated, keep the same content visible between the top and bottom screen edges.

public static final intKEEP_SAME_VIEWPORT_WIDTH

When rotated, keep the same content visible between the left and right screen edges.

public static final intKEEP_SAME_ZOOM

After device is rotated, keep the same zoom level as before the rotation.

Constructors
publicRotateMode()

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int KEEP_SAME_ZOOM

After device is rotated, keep the same zoom level as before the rotation.

public static final int KEEP_SAME_VIEWPORT_WIDTH

When rotated, keep the same content visible between the left and right screen edges.

public static final int KEEP_SAME_VIEWPORT_HEIGHT

When rotated, keep the same content visible between the top and bottom screen edges.

Constructors

public RotateMode()