setFont()
Set the label's font.
label.setFont(font)
Parameters
label.setFont(font)
| Parameter | Type | Default | Description |
|---|---|---|---|
font |
Font |
required | The new font, for example Font("Serif", Font.ITALIC, 16). |
Set the label's font.
label.setFont(font)
label.setFont(font)
| Parameter | Type | Default | Description |
|---|---|---|---|
font |
Font |
required | The new font, for example Font("Serif", Font.ITALIC, 16). |