Class: BMFont::BMFontData

Inherits:
Struct
  • Object
show all
Defined in:
bmfont.rb

Overview

フォントの各文字を格納する構造体

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) h

Returns the value of attribute h

Returns:

  • (Object)

    the current value of h



23
24
25
# File 'bmfont.rb', line 23

def h
  @h
end

- (Object) image

Returns the value of attribute image

Returns:

  • (Object)

    the current value of image



23
24
25
# File 'bmfont.rb', line 23

def image
  @image
end

- (Object) w

Returns the value of attribute w

Returns:

  • (Object)

    the current value of w



23
24
25
# File 'bmfont.rb', line 23

def w
  @w
end

- (Object) xadvance

Returns the value of attribute xadvance

Returns:

  • (Object)

    the current value of xadvance



23
24
25
# File 'bmfont.rb', line 23

def xadvance
  @xadvance
end

- (Object) xofs

Returns the value of attribute xofs

Returns:

  • (Object)

    the current value of xofs



23
24
25
# File 'bmfont.rb', line 23

def xofs
  @xofs
end

- (Object) yofs

Returns the value of attribute yofs

Returns:

  • (Object)

    the current value of yofs



23
24
25
# File 'bmfont.rb', line 23

def yofs
  @yofs
end