pub trait PdfPageObjectCommon<'a> {
    fn index(&self) -> PdfPageObjectIndex;
    fn has_transparency(&self) -> bool;
    fn bounds(&self) -> Result<PdfRect, PdfiumError>;
}
Expand description

Functionality common to all PdfPageObject objects, regardless of their PdfPageObjectType.

Required Methods

Returns the zero-based object index of this PdfPageObject in its containing PdfPage.

Returns true if this PdfPageObject contains transparency.

Returns the bounding box of this PdfPageObject.

Implementors