class Tesseract::Engine::FontAttributes
Public Class Methods
new(struct)
click to toggle source
# File lib/tesseract/engine/font_attributes.rb, line 28 def initialize (struct) @internal = struct end
Public Instance Methods
inspect()
click to toggle source
# File lib/tesseract/engine/font_attributes.rb, line 45 def inspect "#<Font(#{id} #{name || 'unknown'} #{pointsize}pt):#{' bold' if bold?}#{' italic' if italic?}#{' underlined' if underlined?}#{' monospace' if monospace?}#{' serif' if serif?}#{' smallcaps' if smallcaps?}>" end