Class: PDF::Inspector::Graphics::Line
Instance Attribute Summary collapse
Instance Method Summary
collapse
analyze, analyze_file, parse
Constructor Details
#initialize ⇒ Line
7
8
9
10
|
# File 'lib/pdf/inspector/graphics.rb', line 7
def initialize
@points = []
@widths = []
end
|
Instance Attribute Details
#points ⇒ Object
Returns the value of attribute points.
5
6
7
|
# File 'lib/pdf/inspector/graphics.rb', line 5
def points
@points
end
|
#widths ⇒ Object
Returns the value of attribute widths.
5
6
7
|
# File 'lib/pdf/inspector/graphics.rb', line 5
def widths
@widths
end
|
Instance Method Details
#append_line(*params) ⇒ Object
12
13
14
|
# File 'lib/pdf/inspector/graphics.rb', line 12
def append_line(*params)
@points << params
end
|
#begin_new_subpath(*params) ⇒ Object
16
17
18
|
# File 'lib/pdf/inspector/graphics.rb', line 16
def begin_new_subpath(*params)
@points << params
end
|
#set_line_width(params) ⇒ Object
20
21
22
|
# File 'lib/pdf/inspector/graphics.rb', line 20
def set_line_width(params)
@widths << params
end
|