function Text(text, font, color) {
		this.DisplayObject_constructor();
		
		
	// public properties:
		/**
		 * The text to display.
		 * @property text
		 * @type String
		 **/
		this.text = text;
	
		/**
		 * The font style to use. Any valid value for the CSS font attribute is acceptable (ex. "bold 36px Arial").
		 * @property font
		 * @type String
		 **/
		this.font = font;
	
		/**
		 * The color to draw the text in. Any valid value for the CSS color attribute is acceptable (ex. "#F00"). Default is "#000".
		 * It will also accept valid canvas fillStyle values.
		 * @property color
		 * @type String
		 **/
		this.color = color;
	
		/**
		 * The horizontal text alignment. Any of "start", "end", "left", "right", and "center". For detailed
		 * information view the
		 * <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#text-styles">
		 * whatwg spec</a>. Default is "left".
		 * @property textAlign
		 * @type String
		 **/
		this.textAlign = "left";
	
		/**
		 * The vertical alignment point on the font. Any of "top", "hanging", "middle", "alphabetic", "ideographic", or
		 * "bottom". For detailed information view the <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#text-styles">
		 * whatwg spec</a>. Default is "top".
		 * @property textBaseline
		 * @type String
		*/
		this.textBaseline = "top";
	
		/**
		 * The maximum width to draw the text. If maxWidth is specified (not null), the text will be condensed or
		 * shrunk to make it fit in this width. For detailed information view the
		 * <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#text-styles">
		 * whatwg spec</a>.
		 * @property maxWidth
		 * @type Number
		*/
		this.maxWidth = null;
	
		/**
		 * If greater than 0, the text will be drawn as a stroke (outline) of the specified width.
		 * @property outline
		 * @type Number
		 **/
		this.outline = 0;
	
		/**
		 * Indicates the line height (vertical distance between baselines) for multi-line text. If null or 0,
		 * the value of getMeasuredLineHeight is used.
		 * @property lineHeight
		 * @type Number
		 **/
		this.lineHeight = 0;
	
		/**
		 * Indicates the maximum width for a line of text before it is wrapped to multiple lines. If null,
		 * the text will not be wrapped.
		 * @property lineWidth
		 * @type Number
		 **/
		this.lineWidth = null;
	}
Display one or more lines of dynamic text (not user editable) in the display list. Line wrapping support (using the
lineWidth) is very basic, wrapping on spaces and tabs only. Note that as an alternative to Text, you can position HTML
text above or below the canvas relative to items in the display list using the {{#crossLink "DisplayObject/localToGlobal"}}{{/crossLink}}
method, or using {{#crossLink "DOMElement"}}{{/crossLink}}.

<b>Please note that Text does not support HTML text, and can only display one font style at a time.</b> To use
multiple font styles, you will need to create multiple text instances, and position them manually.

<h4>Example</h4>

     var text = new createjs.Text("Hello World", "20px Arial", "#ff7700");
     text.x = 100;
     text.textBaseline = "alphabetic";

CreateJS Text supports web fonts (the same rules as Canvas). The font must be loaded and supported by the browser
before it can be displayed.

<strong>Note:</strong> Text can be expensive to generate, so cache instances where possible. Be aware that not all
browsers will render Text exactly the same.
@class Text
@extends DisplayObject
@constructor
@param {String} [text] The text to display.
@param {String} [font] The font style to use. Any valid value for the CSS font attribute is acceptable (ex. "bold
36px Arial").
@param {String} [color] The color to draw the text in. Any valid value for the CSS color attribute is acceptable (ex.
"#F00", "red", or "#FF0000").