MindFusion.Diagramming for JavaScript Programmer's Guide
Font Constructor
See Also
 





Initializes a new instance of the Font class with the specified attributes.

Namespace: MindFusion.Drawing
File: Font.js

 Syntax

JavaScript  Copy Code

function Font (name, size, bold, italic, underline)

 Parameters

name

The font name.

size

The font size.

bold

true if this font is bold, otherwise false.

italic

true if this font is italic, otherwise false.

underline

true if this font is underlined, otherwise false.

 See Also

Font Constructor Overload List
Font Class
MindFusion.Drawing Namespace