Class: BMFont::BMFontData
- Inherits:
-
Struct
- Object
- Struct
- BMFont::BMFontData
- Defined in:
- bmfont.rb
Overview
フォントの各文字を格納する構造体
Instance Attribute Summary (collapse)
-
- (Object) h
Returns the value of attribute h.
-
- (Object) image
Returns the value of attribute image.
-
- (Object) w
Returns the value of attribute w.
-
- (Object) xadvance
Returns the value of attribute xadvance.
-
- (Object) xofs
Returns the value of attribute xofs.
-
- (Object) yofs
Returns the value of attribute yofs.
Instance Attribute Details
- (Object) h
Returns the value of attribute h
23 24 25 |
# File 'bmfont.rb', line 23 def h @h end |
- (Object) image
Returns the value of attribute image
23 24 25 |
# File 'bmfont.rb', line 23 def image @image end |
- (Object) w
Returns the value of attribute w
23 24 25 |
# File 'bmfont.rb', line 23 def w @w end |
- (Object) xadvance
Returns the value of attribute xadvance
23 24 25 |
# File 'bmfont.rb', line 23 def xadvance @xadvance end |
- (Object) xofs
Returns the value of attribute xofs
23 24 25 |
# File 'bmfont.rb', line 23 def xofs @xofs end |
- (Object) yofs
Returns the value of attribute yofs
23 24 25 |
# File 'bmfont.rb', line 23 def yofs @yofs end |