Class: RPDF::Rectangle
- Defined in:
- lib/rpdf/rectangle.rb
Overview
Rectangle Object
- PDFRef15 p133
Instance Attribute Summary
Attributes inherited from PDFArray
Attributes inherited from PDFObject
#generation_number, #object_number
Instance Method Summary collapse
-
#initialize(llx, lly, urx, ury, document = nil) ⇒ Rectangle
constructor
A new instance of Rectangle.
Methods inherited from PDFArray
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 |