setFontWeight

Sets the weight for the font.

Return

The current instance for chaining.

Parameters

weight

An instance of FontWeight representing the desired font weight.