documentationfor yFiles for HTML 3.0.0.3

Usages of FontStyle

Properties

fontStylein FontGets the font style.

Method Return Values

from (FontStyle)in FontStyleConverts the given argument to an enum constant of this enum type.

Method Parameters

Font (string?, number?, FontStyle?, 'normal' | 'bold' | 'light' | 'bolder' | 'lighter' | 'inherit' | string?, number?, TextDecorations?)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?, 'normal' | 'bold' | 'light' | 'bolder' | 'lighter' | 'inherit' | string?, number?, TextDecorations?)in FontCreates a copy with the values of this instance or optionally the explicitly specified values.
from (FontStyle)in FontStyleConverts the given argument to an enum constant of this enum type.
getName (FontStyle)in FontStyleReturns the name of the given enum constant.