Class: HexaPDF::Content::Operator::EndText

Inherits:
NoArgumentOperator show all
Defined in:
lib/hexapdf/content/operator.rb

Overview

Implementation of the ‘ET’ operator.

See: PDF2.0 s9.4.1

Instance Attribute Summary

Attributes inherited from BaseOperator

#name

Instance Method Summary collapse

Methods inherited from NoArgumentOperator

#serialize

Methods inherited from BaseOperator

#serialize

Constructor Details

#initializeEndText

Creates the operator.



832
833
834
# File 'lib/hexapdf/content/operator.rb', line 832

def initialize
  super('ET')
end

Instance Method Details

#invoke(processor) ⇒ Object

:nodoc:



836
837
838
839
840
# File 'lib/hexapdf/content/operator.rb', line 836

def invoke(processor) #:nodoc:
  processor.graphics_object = :none
  processor.graphics_state.tm = nil
  processor.graphics_state.tlm = nil
end