FontVariation.italic constructor

const FontVariation.italic(
  1. double value
)

Variable font style. (ital)

Varies the style of glyphs in the font between normal and italic.

Values must in the range 0.0 (meaning normal, or Roman, as in FontStyle.normal) to 1.0 (meaning fully italic, as in FontStyle.italic).

This is distinct from FontVariation.slant, which leans the characters without changing the font style.

See also:

Implementation

const FontVariation.italic(this.value) : assert(value >= 0.0), assert(value <= 1.0), axis = 'ital';