documentationfor yFiles for HTML 2.6

Usages of FontStyle

Properties

fontStylein FontGets the font style.

Method Return Values

from (FontStyle)in FontStyleConverts the argument to FontStyle.

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 (FontStyle)in FontStyleConverts the argument to FontStyle.