class PDFium::ImageList

A list of Image instances for a given Page. Is returned by Page#images Images are lazily loaded upon request.

Public Class Methods

new(page) click to toggle source

Load list for a given page. Not normally called directly, but from Page#images

# File lib/pdfium/image_list.rb, line 10
def initialize(page)
    @page=page
end

Public Instance Methods

each(&block) click to toggle source

Calls block once for each object on the document

# File lib/pdfium/image_list.rb, line 15
def each(&block)
    @page.each_image(&block)
end