Or possibly use a label component. 


----- Original Message ----- 
From: "Kit McCormick" <[EMAIL PROTECTED]> 
To: [email protected] 
Sent: Monday, October 20, 2008 8:14:13 AM GMT -05:00 US/Canada Eastern 
Subject: Re: [AFFUG Discuss] Drawing Text 

There aren't any text primitives in the Flex graphics APIs. 
Typically, you set text on some component, and add that component to 
the canvas. 

The most primitive text component I am aware of is the TextField: 

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html
 

http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000219.html
 

Otherwise, you are reduced to creating your own stick-figure 
characters via the 2D graphics APIs. 


Kit 

On Mon, Oct 20, 2008 at 12:22 AM,  <[EMAIL PROTECTED]> wrote: 
> This may be a simple question but I haven't found a good answer. 
> I am drawing on a canvas a custom graph. How would I go about drawing 
> text directly on the canvas. 
> 
> 
> 
> ------------------------------------------------------------- 
> To unsubscribe from this list, simply email the list with unsubscribe in the 
> subject line 
> 
> For more info, see http://www.affug.com 
> Archive @ http://www.mail-archive.com/discussion%40affug.com/ 
> List hosted by http://www.fusionlink.com 
> ------------------------------------------------------------- 
> 
> 
> 


------------------------------------------------------------- 
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line 

For more info, see http://www.affug.com 
Archive @ http://www.mail-archive.com/discussion%40affug.com/ 
List hosted by http://www.fusionlink.com 
------------------------------------------------------------- 





-------------------------------------------------------------

To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line



For more info, see http://www.affug.com

Archive @ http://www.mail-archive.com/discussion%40affug.com/

List hosted by http://www.fusionlink.com

-------------------------------------------------------------

Reply via email to