Type alias TextStyle

TextStyle: {
    bold?: boolean;
    fontFace?: string;
    italic?: boolean;
    parentStyle?: string;
    pointSize?: number;
    strikethrough?: boolean;
    underline?: boolean;
    weight?: TextWeight;
}

Type declaration

  • Optional bold?: boolean
  • Optional fontFace?: string

    Name of the font face to be used, like "Arial", or "Helvetica"

  • Optional italic?: boolean
  • Optional parentStyle?: string

    Named style from which this one inherits

  • Optional pointSize?: number

    Text size, in points

  • Optional strikethrough?: boolean
  • Optional underline?: boolean
  • Optional weight?: TextWeight