Class: PdfTempura::Document::CharacterField

Inherits:
Field::Base
  • Object
show all
Defined in:
lib/pdf_tempura/document/character_field.rb

Direct Known Subclasses

TextField

Instance Attribute Summary collapse

Attributes inherited from Field::Base

#coordinates, #dimensions, #name

Method Summary

Methods inherited from Field::Base

#height, #initialize, #width, #x, #y

Methods included from Validation

included

Constructor Details

This class inherits a constructor from PdfTempura::Document::Field::Base

Instance Attribute Details

#alignmentObject (readonly)

Returns the value of attribute alignment.



4
5
6
# File 'lib/pdf_tempura/document/character_field.rb', line 4

def alignment
  @alignment
end

#boldObject (readonly) Also known as: bold?

Returns the value of attribute bold.



4
5
6
# File 'lib/pdf_tempura/document/character_field.rb', line 4

def bold
  @bold
end

#default_valueObject (readonly)

Returns the value of attribute default_value.



4
5
6
# File 'lib/pdf_tempura/document/character_field.rb', line 4

def default_value
  @default_value
end

#font_nameObject (readonly)

Returns the value of attribute font_name.



4
5
6
# File 'lib/pdf_tempura/document/character_field.rb', line 4

def font_name
  @font_name
end

#font_sizeObject (readonly)

Returns the value of attribute font_size.



4
5
6
# File 'lib/pdf_tempura/document/character_field.rb', line 4

def font_size
  @font_size
end

#italicObject (readonly) Also known as: italic?

Returns the value of attribute italic.



4
5
6
# File 'lib/pdf_tempura/document/character_field.rb', line 4

def italic
  @italic
end

#leadingObject (readonly)

Returns the value of attribute leading.



4
5
6
# File 'lib/pdf_tempura/document/character_field.rb', line 4

def leading
  @leading
end

#multi_lineObject (readonly) Also known as: multi_line?

Returns the value of attribute multi_line.



4
5
6
# File 'lib/pdf_tempura/document/character_field.rb', line 4

def multi_line
  @multi_line
end

#paddingObject (readonly)

Returns the value of attribute padding.



4
5
6
# File 'lib/pdf_tempura/document/character_field.rb', line 4

def padding
  @padding
end

#valignObject (readonly)

Returns the value of attribute valign.



4
5
6
# File 'lib/pdf_tempura/document/character_field.rb', line 4

def valign
  @valign
end