API Docs for: 0.0.2
Show:

Atlantis.SpriteFont Class

Module: Framework
Parent Module: Atlantis

Define a drawable text.

Constructor

Atlantis.SpriteFont

(
  • The
  • The
  • The
)

Parameters:

  • The String

    font name to use (default Arial). You can use a webfont loaded in CSS.

  • The Number

    size of the font.

  • The String

    style of the font (normal, italic, bold)

Item Index

Methods

Methods

getFont

() String

Gets the string passed to drawing context.

Returns:

String:

Return the string passed to the drawing context.