Class: HexaPDF::Content::Operator::ShowTextWithPositioning

Inherits:
BaseOperator
  • Object
show all
Defined in:
lib/hexapdf/content/operator.rb

Overview

Implementation of the ‘TJ’ operator.

See: PDF2.0 s9.4.3

Instance Attribute Summary

Attributes inherited from BaseOperator

#name

Instance Method Summary collapse

Methods inherited from BaseOperator

#invoke

Constructor Details

#initializeShowTextWithPositioning

Creates the operator.



992
993
994
# File 'lib/hexapdf/content/operator.rb', line 992

def initialize
  super('TJ')
end

Instance Method Details

#serialize(serializer, array) ⇒ Object

:nodoc:



996
997
998
# File 'lib/hexapdf/content/operator.rb', line 996

def serialize(serializer, array) #:nodoc:
  "#{serializer.serialize_array(array)}TJ\n"
end