Class | FontTexture |
In: |
lib/extras/font/font.rb
|
Parent: | Object |
A mono-spaced font texture that can be used to render strings.
The constructor expects to find a fontname.png and a fontname.font
Render a string. (x,y) is the position of the bottom-left corner, ande s is the scale.Fractional widths can be used for sub-pixel placement, but use with caution.