Class PNG::Font
In: lib/png/font.rb
Parent: Object

Implements a simple bitmap font by extracting letters from a PNG.

Methods

[]   coordinates   default   new  

Constants

LETTERS = (('A'..'Z').to_a + ('a'..'z').to_a + ('0'..'9').to_a + [" "] * 16 + '({[<!@#$%^&*?_+-=;,"/~>]})'.split(//))

Attributes

canvas  [R] 
height  [R] 
width  [R] 

Public Class methods

Public Instance methods

[Validate]