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: PDF2.0 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.
915 916 917 |
# File 'lib/hexapdf/content/operator.rb', line 915 def initialize super('T*') end |
Instance Method Details
#invoke(processor) ⇒ Object
:nodoc:
919 920 921 922 |
# File 'lib/hexapdf/content/operator.rb', line 919 def invoke(processor) #:nodoc: leading = processor.graphics_state.leading processor.operators[:Td].invoke(processor, 0, -leading) end |