Font

APIRendererTextFont

Source

Font.family

Type:
String
Default value:
'sans-serif'

Font.onFamilyChange(oldValue)

Parameters:
  • oldValue — String
Type:
Signal

Source

Font.pixelSize

Type:
Float
Default value:
14

Font.onPixelSizeChange(oldValue)

Parameters:
  • oldValue — Float
Type:
Signal

Source

Font.weight

Type:
Float
Default value:
0.4

In range from 0 to 1.

Font.onWeightChange(oldValue)

Parameters:
  • oldValue — Float
Type:
Signal

Source

Font.wordSpacing

Type:
Float
Default value:
0
Not Implemented

Font.onWordSpacingChange(oldValue)

Parameters:
  • oldValue — Float
Type:
Signal
Not Implemented

Source

Font.letterSpacing

Type:
Float
Default value:
0
Not Implemented

Font.onLetterSpacingChange(oldValue)

Parameters:
  • oldValue — Float
Type:
Signal
Not Implemented

Source

Font.italic

Type:
Boolean
Default value:
false

Font.onItalicChange(oldValue)

Parameters:
  • oldValue — Boolean
Type:
Signal

Source