PdfPageObjectType
public
final
class
PdfPageObjectType
extends Object
java.lang.Object | |
↳ | android.graphics.pdf.component.PdfPageObjectType |
This class holds the set of constants representing the types of a PDF page objects.
Summary
Constants | |
---|---|
int |
IMAGE
Represents an image page object |
int |
PATH
Represents a path page object |
int |
TEXT
Represents a text page object |
int |
UNKNOWN
Represents the type of page object that cannot be determined |
Public methods | |
---|---|
static
boolean
|
isValidType(int type)
Checks if the given type is a valid PDF page object type. |
Inherited methods | |
---|---|
Constants
IMAGE
public static final int IMAGE
Represents an image page object
Constant Value: 3 (0x00000003)
PATH
public static final int PATH
Represents a path page object
Constant Value: 2 (0x00000002)
TEXT
public static final int TEXT
Represents a text page object
Constant Value: 1 (0x00000001)
UNKNOWN
public static final int UNKNOWN
Represents the type of page object that cannot be determined
Constant Value: 0 (0x00000000)
Public methods
isValidType
public static boolean isValidType (int type)
Checks if the given type is a valid PDF page object type.
Parameters | |
---|---|
type |
int : The type to check. |
Returns | |
---|---|
boolean |
true if the type is valid, false otherwise. |