Module: SDL2::TTF::Style

Defined in:
ttf.c,
ttf.c

Overview

Constants represents font styles.

Constant Summary collapse

NORMAL =

Returns integer representing normal style.

Returns:

  • (Integer)

    integer representing normal style

INT2NUM((TTF_STYLE_NORMAL))
BOLD =

Returns integer representing bold style.

Returns:

  • (Integer)

    integer representing bold style

INT2NUM((TTF_STYLE_BOLD))
ITALIC =

Returns integer representing italic style.

Returns:

  • (Integer)

    integer representing italic style

INT2NUM((TTF_STYLE_ITALIC))
UNDERLINE =

Returns integer representing underline style.

Returns:

  • (Integer)

    integer representing underline style

INT2NUM((TTF_STYLE_UNDERLINE))
STRIKETHROUGH =

Returns integer representing strikethrough style.

Returns:

  • (Integer)

    integer representing strikethrough style

INT2NUM((TTF_STYLE_STRIKETHROUGH))