klyn.gui.windows.Font.withBold
method
public withBold(bold as Boolean = true) as Font:
Description

Returns a copy with the requested bold state.

Parameters
ParameterDescription
boldNew bold state.
Returns

A font preserving family, size and italic state.

Example
heading = Font("Noto Sans", 18).withBold()