class PDF::Inspector::Graphics::Rectangle
Attributes
rectangles[R]
Public Class Methods
new()
click to toggle source
# File lib/pdf/inspector/graphics.rb, line 29 def initialize @rectangles = [] end
Public Instance Methods
append_rectangle(*params)
click to toggle source
# File lib/pdf/inspector/graphics.rb, line 33 def append_rectangle(*params) @rectangles << { :point => params[0..1], :width => params[2], :height => params[3] } end