Class: HexaPDF::Content::Operator::SetLineJoinStyle
- Inherits:
-
SingleNumericArgumentOperator
- Object
- BaseOperator
- SingleNumericArgumentOperator
- HexaPDF::Content::Operator::SetLineJoinStyle
- Defined in:
- lib/hexapdf/content/operator.rb
Overview
Implementation of the ‘j’ operator.
See: PDF1.7 s8.4.4
Instance Attribute Summary
Attributes inherited from BaseOperator
Instance Method Summary collapse
-
#initialize ⇒ SetLineJoinStyle
constructor
Creates the operator.
-
#invoke(processor, join_style) ⇒ Object
:nodoc:.
Methods inherited from SingleNumericArgumentOperator
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ SetLineJoinStyle
Creates the operator.
238 239 240 |
# File 'lib/hexapdf/content/operator.rb', line 238 def initialize super('j') end |
Instance Method Details
#invoke(processor, join_style) ⇒ Object
:nodoc:
242 243 244 |
# File 'lib/hexapdf/content/operator.rb', line 242 def invoke(processor, join_style) #:nodoc: processor.graphics_state.line_join_style = LineJoinStyle.normalize(join_style) end |