Class: HexaPDF::Content::Operator::SetLeading
- Inherits:
-
SingleNumericArgumentOperator
- Object
- BaseOperator
- SingleNumericArgumentOperator
- HexaPDF::Content::Operator::SetLeading
- Defined in:
- lib/hexapdf/content/operator.rb
Overview
Implementation of the ‘TL’ operator.
See: PDF1.7 s9.3.1
Instance Attribute Summary
Attributes inherited from BaseOperator
Instance Method Summary collapse
-
#initialize ⇒ SetLeading
constructor
Creates the operator.
-
#invoke(processor, leading) ⇒ Object
:nodoc:.
Methods inherited from SingleNumericArgumentOperator
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ SetLeading
Creates the operator.
745 746 747 |
# File 'lib/hexapdf/content/operator.rb', line 745 def initialize super('TL') end |
Instance Method Details
#invoke(processor, leading) ⇒ Object
:nodoc:
749 750 751 |
# File 'lib/hexapdf/content/operator.rb', line 749 def invoke(processor, leading) #:nodoc: processor.graphics_state.leading = leading end |