public final class

ZoomView.ContentResizedMode

extends java.lang.Object

 java.lang.Object

↳androidx.pdf.widget.ZoomView.ContentResizedMode

Overview

Different options for how the viewport should move when the content changes size.

Summary

Fields
public static final intKEEP_SAME_ABSOLUTE

When content resizes, keep looking at the same absolute co-ordinates eg (10px, 20px).

public static final intKEEP_SAME_RELATIVE

When content resizes, keep looking at the same relative position eg (25%, 50%).

Constructors
publicContentResizedMode()

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

Fields

public static final int KEEP_SAME_ABSOLUTE

When content resizes, keep looking at the same absolute co-ordinates eg (10px, 20px).

public static final int KEEP_SAME_RELATIVE

When content resizes, keep looking at the same relative position eg (25%, 50%).

Constructors

public ContentResizedMode()