Class: HexaPDF::Content::Operator::SetMiterLimit
- Inherits:
-
SingleNumericArgumentOperator
- Object
- BaseOperator
- SingleNumericArgumentOperator
- HexaPDF::Content::Operator::SetMiterLimit
- Defined in:
- lib/hexapdf/content/operator.rb
Overview
Implementation of the ‘M’ operator.
See: PDF2.0 s8.4.4
Instance Attribute Summary
Attributes inherited from BaseOperator
Instance Method Summary collapse
-
#initialize ⇒ SetMiterLimit
constructor
Creates the operator.
-
#invoke(processor, miter_limit) ⇒ Object
:nodoc:.
Methods inherited from SingleNumericArgumentOperator
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ SetMiterLimit
Creates the operator.
255 256 257 |
# File 'lib/hexapdf/content/operator.rb', line 255 def initialize super('M') end |
Instance Method Details
#invoke(processor, miter_limit) ⇒ Object
:nodoc:
259 260 261 |
# File 'lib/hexapdf/content/operator.rb', line 259 def invoke(processor, miter_limit) #:nodoc: processor.graphics_state.miter_limit = miter_limit end |