Class: HexaPDF::Content::Operator::ShowTextWithPositioning
- Inherits:
-
BaseOperator
- Object
- BaseOperator
- HexaPDF::Content::Operator::ShowTextWithPositioning
- 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
Instance Method Summary collapse
-
#initialize ⇒ ShowTextWithPositioning
constructor
Creates the operator.
-
#serialize(serializer, array) ⇒ Object
:nodoc:.
Methods inherited from BaseOperator
Constructor Details
#initialize ⇒ ShowTextWithPositioning
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 |