Options
All
  • Public
  • Public/Protected
  • All
Menu

Object containing font parameters. If no color, size and shadow are specified, default values are ignored and white font with text size 20, white color and 0.45 shadow is created

Hierarchy

  • FontDescription

Index

Properties

align?: number
alignment?: number

Font alignment, one of the Font.ALIGN_DEFAULT, Font.ALIGN_CENTER, Font.ALIGN_END constants

bold?: boolean

If true, the font is bold, false otherwise. Default value is false

color?: number

Font color, android integer color value (produced by [[android.graphics.Color]]). Default value is black

cursive?: boolean

If true, the font is italic, false otherwise. Default value is false

shadow?: number

Font shadow offset. Default value is 0, witch produces no shadow

size?: number

Font size. Default value is 20

underline?: boolean

If true, the font is underlined, false otherwise. Default value is false

Generated using TypeDoc