Class: HexaPDF::Content::Operator::MoveTextNextLine
- Inherits:
-
NoArgumentOperator
- Object
- BaseOperator
- NoArgumentOperator
- HexaPDF::Content::Operator::MoveTextNextLine
- Defined in:
- lib/hexapdf/content/operator.rb
Overview
Implementation of the ‘T*’ operator.
See: PDF1.7 s9.4.2
Instance Attribute Summary
Attributes inherited from BaseOperator
Instance Method Summary collapse
-
#initialize ⇒ MoveTextNextLine
constructor
Creates the operator.
-
#invoke(processor) ⇒ Object
:nodoc:.
Methods inherited from NoArgumentOperator
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ MoveTextNextLine
Creates the operator.
914 915 916 |
# File 'lib/hexapdf/content/operator.rb', line 914 def initialize super('T*') end |
Instance Method Details
#invoke(processor) ⇒ Object
:nodoc:
918 919 920 921 |
# File 'lib/hexapdf/content/operator.rb', line 918 def invoke(processor) #:nodoc: leading = processor.graphics_state.leading processor.operators[:Td].invoke(processor, 0, -leading) end |