Class: HexaPDF::Content::Operator::SetTextRenderingMode
- Inherits:
-
SingleNumericArgumentOperator
- Object
- BaseOperator
- SingleNumericArgumentOperator
- HexaPDF::Content::Operator::SetTextRenderingMode
- Defined in:
- lib/hexapdf/content/operator.rb
Overview
Implementation of the ‘Tr’ operator.
See: PDF1.7 s9.3.1
Instance Attribute Summary
Attributes inherited from BaseOperator
Instance Method Summary collapse
-
#initialize ⇒ SetTextRenderingMode
constructor
Creates the operator.
-
#invoke(processor, rendering_mode) ⇒ Object
:nodoc:.
Methods inherited from SingleNumericArgumentOperator
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ SetTextRenderingMode
Creates the operator.
782 783 784 |
# File 'lib/hexapdf/content/operator.rb', line 782 def initialize super('Tr') end |
Instance Method Details
#invoke(processor, rendering_mode) ⇒ Object
:nodoc:
786 787 788 |
# File 'lib/hexapdf/content/operator.rb', line 786 def invoke(processor, rendering_mode) #:nodoc: processor.graphics_state.text_rendering_mode = rendering_mode end |