public class FitInstruction extends Object implements Instruction
Instruction
which will apply the desired fit mode (width, height, both) to the
page view.
Requires an instance of PageView
in the collection of context objects. The
PageView
must be displaying a Page
.
Modifier and Type | Class and Description |
---|---|
static class |
FitInstruction.Mode
Describes the sub-type of the
FitInstruction (fit by width, height or both). |
Constructor and Description |
---|
FitInstruction(FitInstruction.Mode mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
FitInstruction.Mode |
getMode()
Returns the
FitInstruction.Mode of this instruction. |
String |
getType() |
int |
hashCode() |
String |
toString() |
public static final String TYPE
public FitInstruction(FitInstruction.Mode mode)
public String getType()
getType
in interface Instruction
public FitInstruction.Mode getMode()
FitInstruction.Mode
of this instruction.Copyright © 2024 levigo holding gmbh. All rights reserved.