Class: Pdfrb::Content::Operator::LineWidth
- Defined in:
- lib/pdfrb/content/operators/graphics_state_params.rb
Overview
Graphics-state parameter operators (s8.4.4 minus q/Q/cm which live in operators/general.rb). These update the named slot on the current GraphicsState.
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.invoke(processor, n) ⇒ Object
12 13 14 |
# File 'lib/pdfrb/content/operators/graphics_state_params.rb', line 12 def self.invoke(processor, n) processor.update_graphics_state(line_width: n.to_f) end |
.name ⇒ Object
11 |
# File 'lib/pdfrb/content/operators/graphics_state_params.rb', line 11 def self.name; "w"; end |