set_weight


Description:

public void set_weight (double weight)

Sets the weight that is used when rendering.

The weight affects the effective linewidth when stroking paths.

The default value of -1 means to use the font weight from CSS.

Parameters:

this

an SVG paintable

weight

the font weight, as a value between -1 and 1000