Class: SDC::Font

Inherits:
Object
  • Object
show all
Defined in:
engine_docs/automatic_doc_Font.rb,
engine_docs/automatic_doc_Font.rb

Overview

Class for text fonts

Instance Method Summary collapse

Constructor Details

#initializeFont

Creates an empty font



# File 'engine_docs/automatic_doc_Font.rb', line 9

Instance Method Details

#load_from_file(filename) ⇒ Boolean

Loads the font from file, returning true if loading was successful, else false.

Parameters:

  • filename (String)

Returns:

  • (Boolean)


# File 'engine_docs/automatic_doc_Font.rb', line 14