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

Checks if the given type is a valid PDF page object type.

Constants

IMAGE

static val IMAGE: Int

Represents an image page object

Value: 3

PATH

static val PATH: Int

Represents a path page object

Value: 2

TEXT

static val TEXT: Int

Represents a text page object

Value: 1

UNKNOWN

static val UNKNOWN: Int

Represents the type of page object that cannot be determined

Value: 0

Public methods

isValidType

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.