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: PDF2.0 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.
239 240 241 |
# File 'lib/hexapdf/content/operator.rb', line 239 def initialize super('j') end |
Instance Method Details
#invoke(processor, join_style) ⇒ Object
:nodoc:
243 244 245 |
# File 'lib/hexapdf/content/operator.rb', line 243 def invoke(processor, join_style) #:nodoc: processor.graphics_state.line_join_style = LineJoinStyle.normalize(join_style) end |