documentationfor yFiles for HTML 3.0.0.3

Usages of TextDecorations

Properties

textDecorationin FontGets the text decoration.

Method Return Values

from (TextDecorations)in TextDecorationsConverts 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 (TextDecorations)in TextDecorationsConverts the given argument to an enum constant of this enum type.
getName (TextDecorations)in TextDecorationsReturns the name of the given enum constant.