Dynamically drawing a rounded rectangle

5 posts

Flag Post

How would you go about dynamically drawing a rectangle with rounded corners to a bitmapdata?

 
Flag Post

Use the graphics class and then draw() it.

 
Flag Post
Originally posted by Senekis93:

Use the graphics class and then draw() it.

It’s actually graphics.drawRoundRect(). :)

 
Flag Post
Originally posted by RTL_Shadow:
Originally posted by Senekis:

Use the graphics class and then draw() it.

It’s actually graphics.drawRoundRect(). :)

He wants it in a bitmapdata. He needs to draw() it. The drawRoundRect() was implied in the “Use the graphics class” part.

 
Flag Post
Originally posted by Senekis93:
Originally posted by RTL_Shadow:
Originally posted by Senekis:

Use the graphics class and then draw() it.

It’s actually graphics.drawRoundRect(). :)

He wants it in a bitmapdata. He needs to draw() it. The drawRoundRect() was implied in the “Use the graphics class” part.

Ah derp. Didn’t see “to bitmapdata”. You were right haha.