[flexcoders] Re: Writing text directly to Graphics object.

2008-04-26 Thread Eric Cooper
In retrospect, it seems reasonable that one would need to use a drawXxx() command to have beginBitmapFill() affect the graphics port. Anyway, in case this useful to anyone else, here's a method that draws a string to a graphics object: public function drawString(g:Graphics,

[flexcoders] Re: Writing text directly to Graphics object.

2008-04-22 Thread Eric Cooper
I have tried this, but it doesn't seem to be working. Here's what I am doing: override public function renderShape(graphics:Graphics):void { var matrix:Matrix = new Matrix() matrix.createBox(1, 1, 0, this.center.x, this.center.y ); //

[flexcoders] Re: Writing text directly to Graphics object.

2008-04-22 Thread Eric Cooper
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, Gordon Smith [EMAIL PROTECTED] wrote: I think

RE: [flexcoders] Re: Writing text directly to Graphics object.

2008-04-22 Thread Gordon Smith
:[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