Class: SistemKebut::Paragraph::Teks
- Inherits:
-
DefPengelolaXML
- Object
- KebutSemalam::PengelolaXML
- DefPengelolaXML
- SistemKebut::Paragraph::Teks
- Includes:
- InnerParagraph
- Defined in:
- lib/sks/paragraph/dasar.rb
Instance Attribute Summary collapse
-
#align ⇒ Object
Returns the value of attribute align.
-
#bold ⇒ Object
Returns the value of attribute bold.
-
#fsize ⇒ Object
Returns the value of attribute fsize.
-
#fstyle ⇒ Object
Returns the value of attribute fstyle.
-
#italic ⇒ Object
Returns the value of attribute italic.
-
#konten ⇒ Object
Returns the value of attribute konten.
-
#masuk ⇒ Object
Returns the value of attribute masuk.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#spacing ⇒ Object
Returns the value of attribute spacing.
-
#underline ⇒ Object
Returns the value of attribute underline.
Instance Method Summary collapse
-
#initialize(k) ⇒ Teks
constructor
A new instance of Teks.
Methods included from InnerParagraph
#gandakan_spacing, #kecilkan_spacing, #struktur, #ubah_ukuran
Methods inherited from DefPengelolaXML
Methods inherited from KebutSemalam::PengelolaXML
Constructor Details
#initialize(k) ⇒ Teks
Returns a new instance of Teks.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/sks/paragraph/dasar.rb', line 29 def initialize(k) @mode = :normal @fstyle = TNR @fsize = 22 @masuk = true @bold = false @italic = false @underline = false @spacing = :normal @align = :both @konten = k end |
Instance Attribute Details
#align ⇒ Object
Returns the value of attribute align.
26 27 28 |
# File 'lib/sks/paragraph/dasar.rb', line 26 def align @align end |
#bold ⇒ Object
Returns the value of attribute bold.
27 28 29 |
# File 'lib/sks/paragraph/dasar.rb', line 27 def bold @bold end |
#fsize ⇒ Object
Returns the value of attribute fsize.
26 27 28 |
# File 'lib/sks/paragraph/dasar.rb', line 26 def fsize @fsize end |
#fstyle ⇒ Object
Returns the value of attribute fstyle.
26 27 28 |
# File 'lib/sks/paragraph/dasar.rb', line 26 def fstyle @fstyle end |
#italic ⇒ Object
Returns the value of attribute italic.
27 28 29 |
# File 'lib/sks/paragraph/dasar.rb', line 27 def italic @italic end |
#konten ⇒ Object
Returns the value of attribute konten.
26 27 28 |
# File 'lib/sks/paragraph/dasar.rb', line 26 def konten @konten end |
#masuk ⇒ Object
Returns the value of attribute masuk.
26 27 28 |
# File 'lib/sks/paragraph/dasar.rb', line 26 def masuk @masuk end |
#mode ⇒ Object
Returns the value of attribute mode.
28 29 30 |
# File 'lib/sks/paragraph/dasar.rb', line 28 def mode @mode end |
#spacing ⇒ Object
Returns the value of attribute spacing.
27 28 29 |
# File 'lib/sks/paragraph/dasar.rb', line 27 def spacing @spacing end |
#underline ⇒ Object
Returns the value of attribute underline.
27 28 29 |
# File 'lib/sks/paragraph/dasar.rb', line 27 def underline @underline end |