Class: PDF::Inspector::Graphics::Curve
- Inherits:
-
PDF::Inspector
- Object
- PDF::Inspector
- PDF::Inspector::Graphics::Curve
- Defined in:
- lib/pdf/inspector/graphics.rb
Instance Attribute Summary collapse
-
#coords ⇒ Object
readonly
Returns the value of attribute coords.
Instance Method Summary collapse
- #append_curved_segment(*params) ⇒ Object
- #begin_new_subpath(*params) ⇒ Object
-
#initialize ⇒ Curve
constructor
A new instance of Curve.
Methods inherited from PDF::Inspector
Constructor Details
#initialize ⇒ Curve
Returns a new instance of Curve.
44 45 46 |
# File 'lib/pdf/inspector/graphics.rb', line 44 def initialize @coords = [] end |
Instance Attribute Details
#coords ⇒ Object (readonly)
Returns the value of attribute coords.
42 43 44 |
# File 'lib/pdf/inspector/graphics.rb', line 42 def coords @coords end |
Instance Method Details
#append_curved_segment(*params) ⇒ Object
52 53 54 |
# File 'lib/pdf/inspector/graphics.rb', line 52 def append_curved_segment(*params) @coords += params end |
#begin_new_subpath(*params) ⇒ Object
48 49 50 |
# File 'lib/pdf/inspector/graphics.rb', line 48 def begin_new_subpath(*params) @coords += params end |