Class: RPDF::Rectangle

Inherits:
PDFArray show all
Defined in:
lib/rpdf/rectangle.rb

Overview

Rectangle Object

PDFRef15 p133

Instance Attribute Summary

Attributes inherited from PDFArray

#array

Attributes inherited from PDFObject

#generation_number, #object_number

Instance Method Summary collapse

Methods inherited from PDFArray

#<<, #to_s

Methods inherited from PDFObject

#indirect?, #invalidate, #invalidated?, #to_pdf, #to_ref

Constructor Details

#initialize(llx, lly, urx, ury, document = nil) ⇒ Rectangle

Returns a new instance of Rectangle.



9
10
11
# File 'lib/rpdf/rectangle.rb', line 9

def initialize(llx, lly, urx, ury, document=nil)
  super([llx, lly, urx, ury], document)
end