Class: SistemKebut::Paragraph::Judul

Inherits:
DefPengelolaXML show all
Includes:
InnerParagraph
Defined in:
lib/sks/paragraph/dasar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from InnerParagraph

#gandakan_spacing, #kecilkan_spacing, #struktur, #ubah_ukuran

Methods inherited from DefPengelolaXML

#pembangun

Methods inherited from KebutSemalam::PengelolaXML

#build, #pembangun

Constructor Details

#initialize(k) ⇒ Judul

Returns a new instance of Judul.



80
81
82
83
84
85
86
87
88
89
90
91
# File 'lib/sks/paragraph/dasar.rb', line 80

def initialize(k)
  @mode = :normal
  @fstyle = TNR
  @fsize = 40
  @masuk = false
  @bold = true
  @italic = false
  @underline = false
  @spacing = :normal
  @align = :center
  @konten = k
end

Instance Attribute Details

#alignObject

Returns the value of attribute align.



77
78
79
# File 'lib/sks/paragraph/dasar.rb', line 77

def align
  @align
end

#boldObject

Returns the value of attribute bold.



78
79
80
# File 'lib/sks/paragraph/dasar.rb', line 78

def bold
  @bold
end

#fsizeObject

Returns the value of attribute fsize.



77
78
79
# File 'lib/sks/paragraph/dasar.rb', line 77

def fsize
  @fsize
end

#fstyleObject

Returns the value of attribute fstyle.



77
78
79
# File 'lib/sks/paragraph/dasar.rb', line 77

def fstyle
  @fstyle
end

#italicObject

Returns the value of attribute italic.



78
79
80
# File 'lib/sks/paragraph/dasar.rb', line 78

def italic
  @italic
end

#kontenObject

Returns the value of attribute konten.



77
78
79
# File 'lib/sks/paragraph/dasar.rb', line 77

def konten
  @konten
end

#masukObject

Returns the value of attribute masuk.



77
78
79
# File 'lib/sks/paragraph/dasar.rb', line 77

def masuk
  @masuk
end

#modeObject

Returns the value of attribute mode.



79
80
81
# File 'lib/sks/paragraph/dasar.rb', line 79

def mode
  @mode
end

#spacingObject

Returns the value of attribute spacing.



78
79
80
# File 'lib/sks/paragraph/dasar.rb', line 78

def spacing
  @spacing
end

#underlineObject

Returns the value of attribute underline.



78
79
80
# File 'lib/sks/paragraph/dasar.rb', line 78

def underline
  @underline
end