PaperForge.Object (PaperForge v0.2.0)

Copy Markdown View Source

Represents an indirect PDF object.

An object such as:

3 0 obj
<< /Type /Page >>
endobj

has an object ID, generation number and value.

Summary

Types

t()

@type t() :: %PaperForge.Object{
  generation: non_neg_integer(),
  id: pos_integer(),
  value: term()
}

Functions

new(id, value)

@spec new(pos_integer(), term()) :: t()