Class: HexaPDF::Content::Operator::SetCharacterSpacing
- Inherits:
-
SingleNumericArgumentOperator
- Object
- BaseOperator
- SingleNumericArgumentOperator
- HexaPDF::Content::Operator::SetCharacterSpacing
- Defined in:
- lib/hexapdf/content/operator.rb
Overview
Implementation of the ‘Tc’ operator.
See: PDF1.7 s9.3.1
Instance Attribute Summary
Attributes inherited from BaseOperator
Instance Method Summary collapse
-
#initialize ⇒ SetCharacterSpacing
constructor
Creates the operator.
-
#invoke(processor, char_space) ⇒ Object
:nodoc:.
Methods inherited from SingleNumericArgumentOperator
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ SetCharacterSpacing
Creates the operator.
697 698 699 |
# File 'lib/hexapdf/content/operator.rb', line 697 def initialize super('Tc') end |
Instance Method Details
#invoke(processor, char_space) ⇒ Object
:nodoc:
701 702 703 |
# File 'lib/hexapdf/content/operator.rb', line 701 def invoke(processor, char_space) #:nodoc: processor.graphics_state.character_spacing = char_space end |