Package 

Class PdfiumPreferences

  • All Implemented Interfaces:
    org.readium.r2.navigator.preferences.Configurable.Preferences

    @Serializable() 
    public final class PdfiumPreferences
     implements Configurable.Preferences<PdfiumPreferences>
                        

    Preferences for the PDF navigator with the PDFium adapter.

    • Constructor Detail

      • PdfiumPreferences

        PdfiumPreferences(Fit fit, Double pageSpacing, ReadingProgression readingProgression, Axis scrollAxis)
        Parameters:
        fit - Indicates how pages should be laid out within the viewport.
        pageSpacing - Space between pages in dp.
        readingProgression - Direction of the horizontal progression across pages.
        scrollAxis - Indicates the axis along which pages should be laid out in scroll mode.