Class: Pdf4me::Text

Inherits:
Base
  • Object
show all
Defined in:
lib/pdf4me/models/text.rb

Constant Summary collapse

ATTRIBUTES =
{
  format: 'BOOLEAN',
  size: 'Integer',
  font: 'String',
  color: 'Color',
  font_encoding: 'String',
  value: 'String',
  mode: 'String',
  rotate: 'Rotate',
  translate: 'Translate',
  transform: 'Transform'
}

Instance Method Summary collapse

Methods inherited from Base

#attributes, #initialize

Methods included from Serializer

#_deserialize, #from_hash, #from_response

Methods included from Assigner

#assign_attributes

Constructor Details

This class inherits a constructor from Pdf4me::Base

Instance Method Details

#defaultsObject



29
30
31
32
33
34
35
# File 'lib/pdf4me/models/text.rb', line 29

def defaults
  {
    format: false,
    font_encoding: 'unicode',
    mode: 'fill'
  }
end