Class: Pdfrb::Content::Operator::Stroke
- Defined in:
- lib/pdfrb/content/operators/painting.rb
Overview
Path painting operators (s8.5.3). Each calls a paint_path
hook on the Processor with the right (fill, stroke, close)
flag tuple so renderers can dispatch one method.
Class Method Summary collapse
Methods inherited from NoArg
Methods inherited from Base
Class Method Details
.invoke(processor) ⇒ Object
12 13 14 |
# File 'lib/pdfrb/content/operators/painting.rb', line 12 def self.invoke(processor, *) processor.paint_path(fill: false, stroke: true, close: false, rule: :nonzero) end |
.name ⇒ Object
11 |
# File 'lib/pdfrb/content/operators/painting.rb', line 11 def self.name; "S"; end |