Search
Graphics.drawString Method (String, Font, Brush, Point|Rect, StringFormat)
See Also
 






Draws the specified string with the specified font and brush at the speciied location.

Namespace: MindFusion.Drawing
File: Graphics.js

 Syntax

JavaScript  Copy Code

function drawString (text, font, brush, location, [format])

 Parameters

text

The string to draw.

font

Type: Font
The font to use.

brush

Type: Brush
The brush to use.

location

Type: Point|Rect
The position at which to draw.

format
Optional.

The format to use.

 See Also