documentationfor yFiles for HTML 2.6

Usages of FontWeight

Properties

fontWeightin FontGets the font weight.

Method Return Values

from (FontWeight)in FontWeightConverts the argument to FontWeight.

Method Parameters

Font (string?, number?, FontStyle?, FontWeight?, number?, TextDecoration?)in FontInitializes a new instance of the Font class with size 10, "Arial" family, normal weight and style and line spacing 0.5, or the given values.
createCopy (string?, number?, FontStyle?, FontWeight?, number?, TextDecoration?)in FontCreates a copy with the values of this instance or optionally the explicitly specified values.
from (FontWeight)in FontWeightConverts the argument to FontWeight.