Class: HexaPDF::Content::Operator::SetTextRise
- Inherits:
-
SingleNumericArgumentOperator
- Object
- BaseOperator
- SingleNumericArgumentOperator
- HexaPDF::Content::Operator::SetTextRise
- Defined in:
- lib/hexapdf/content/operator.rb
Overview
Implementation of the ‘Ts’ operator.
See: PDF2.0 s9.3.1
Instance Attribute Summary
Attributes inherited from BaseOperator
Instance Method Summary collapse
-
#initialize ⇒ SetTextRise
constructor
Creates the operator.
-
#invoke(processor, rise) ⇒ Object
:nodoc:.
Methods inherited from SingleNumericArgumentOperator
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ SetTextRise
Creates the operator.
799 800 801 |
# File 'lib/hexapdf/content/operator.rb', line 799 def initialize super('Ts') end |
Instance Method Details
#invoke(processor, rise) ⇒ Object
:nodoc:
803 804 805 |
# File 'lib/hexapdf/content/operator.rb', line 803 def invoke(processor, rise) #:nodoc: processor.graphics_state.text_rise = rise end |