Class: PdfTempura::Document::CharacterField
- Inherits:
-
Field::Base
- Object
- Field::Base
- PdfTempura::Document::CharacterField
- Defined in:
- lib/pdf_tempura/document/character_field.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#alignment ⇒ Object
readonly
Returns the value of attribute alignment.
-
#bold ⇒ Object
(also: #bold?)
readonly
Returns the value of attribute bold.
-
#default_value ⇒ Object
readonly
Returns the value of attribute default_value.
-
#font_name ⇒ Object
readonly
Returns the value of attribute font_name.
-
#font_size ⇒ Object
readonly
Returns the value of attribute font_size.
-
#italic ⇒ Object
(also: #italic?)
readonly
Returns the value of attribute italic.
-
#leading ⇒ Object
readonly
Returns the value of attribute leading.
-
#multi_line ⇒ Object
(also: #multi_line?)
readonly
Returns the value of attribute multi_line.
-
#padding ⇒ Object
readonly
Returns the value of attribute padding.
-
#valign ⇒ Object
readonly
Returns the value of attribute valign.
Attributes inherited from Field::Base
#coordinates, #dimensions, #name
Method Summary
Methods inherited from Field::Base
#height, #initialize, #width, #x, #y
Methods included from Validation
Constructor Details
This class inherits a constructor from PdfTempura::Document::Field::Base
Instance Attribute Details
#alignment ⇒ Object (readonly)
Returns the value of attribute alignment.
4 5 6 |
# File 'lib/pdf_tempura/document/character_field.rb', line 4 def alignment @alignment end |
#bold ⇒ Object (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_value ⇒ Object (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_name ⇒ Object (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_size ⇒ Object (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 |
#italic ⇒ Object (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 |
#leading ⇒ Object (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_line ⇒ Object (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 |
#padding ⇒ Object (readonly)
Returns the value of attribute padding.
4 5 6 |
# File 'lib/pdf_tempura/document/character_field.rb', line 4 def padding @padding end |
#valign ⇒ Object (readonly)
Returns the value of attribute valign.
4 5 6 |
# File 'lib/pdf_tempura/document/character_field.rb', line 4 def valign @valign end |