src/main/java/com/mxgraph/canvas/mxHtmlCanvas.java
public Element drawText(String text, int x, int y, int w, int h,
			Map<String, Object> style)
	{
		Element table = mxUtils.createTable(document, text, x, y, w, h, scale,
				style);
		appendHtmlElement(table);

		return table;
	}
/**
	 * Draws the specified text either using drawHtmlString or using drawString.
	 * 
	 * @param text Text to be painted.
	 * @param x X-coordinate of the text.
	 * @param y Y-coordinate of the text.
	 * @param w Width of the text.
	 * @param h Height of the text.
	 * @param style Style to be used for painting the text.
	 */
Draws the specified text either using drawHtmlString or using drawString.

@param text Text to be painted.
@param x X-coordinate of the text.
@param y Y-coordinate of the text.
@param w Width of the text.
@param h Height of the text.
@param style Style to be used for painting the text.
Draws the specified text either using drawHtmlString or using drawString . @param text Text to be painted . @param x X - coordinate of the text . @param y Y - coordinate of the text . @param w Width of the text . @param h Height of the text . @param style Style to be used for painting the text .
public Element drawText(String text, int x, int y, int w, int h,
			Map<String, Object> style)
	{
		Element table = mxUtils.createTable(document, text, x, y, w, h, scale,
				style);
		appendHtmlElement(table);
		return table;
	}
public Element drawText ( String text , int x , int y , int w , int h , Map < String , Object > style ) { Element table = mxUtils . createTable ( document , text , x , y , w , h , scale , style ) ; appendHtmlElement ( table ) ; return table ; }
Draws the specified text either using drawHtmlString or using drawString.
Draws the specified text either using drawHtmlString or using drawString .