Unfortunately, there are no plans to add a text-drawing API like
Graphics.drawText() in Flash Player 10. Text will continue to be
renderable only by a special type of DisplayObject.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Cooper
Sent: Tuesday, April 22, 2008 12:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Writing text directly to Graphics object.

 

Yes, this is what I was hoping for. And even though it is not now
available, I wonder, 
Gordon, if you are at liberty to tell us about the future? Is
Graphics.drawText() be 
something that might get added?

-eric

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> I think the original poster was looking for something like
> 
> 
> 
> graphics.drawText("Hello", format);
> 
> 
> 
> But there are (alas!) no APIs in the Graphics class that know how to
> render a text string. Only TextField knows how to do that.
> 
> 
> 
> Gordon Smith
> 
> Adobe Flex SDK Team
> 

 

Reply via email to