Added in S Extensions 18
PdfPageObjectType
class PdfPageObjectType
kotlin.Any | |
↳ | android.graphics.pdf.component.PdfPageObjectType |
This class holds the set of constants representing the types of a PDF page objects.
Summary
Constants | |
---|---|
static Int |
Represents an image page object |
static Int |
Represents a path page object |
static Int |
Represents a text page object |
static Int |
Represents the type of page object that cannot be determined |
Public methods | |
---|---|
static Boolean |
isValidType(type: Int) Checks if the given type is a valid PDF page object type. |
Constants
UNKNOWN
Added in S Extensions 18
static val UNKNOWN: Int
Represents the type of page object that cannot be determined
Value: 0
Public methods
isValidType
Added in S Extensions 18
static fun isValidType(type: Int): Boolean
Checks if the given type is a valid PDF page object type.
Parameters | |
---|---|
type |
Int: The type to check. |
Return | |
---|---|
Boolean |
true if the type is valid, false otherwise. |