Whoah, you’re at our level cap. Good job, you rock! Here, have some cake.
Community Get activity updates from around Kongregate.
Explore Kongregate & earn 10 kreds Here are your 10 free kreds Explore Kongregate & earn a trophy Here’s a shiny trophy for you 15%
Keep exploring Kongregate with more badges and games!
Hide the progress bar forever? Yes No
5 posts
Sign in to reply
How would you go about dynamically drawing a rectangle with rounded corners to a bitmapdata?
Use the graphics class and then draw() it.
draw()
Originally posted by Senekis93:Use the graphics class and then draw() it.
It’s actually graphics.drawRoundRect(). :)
graphics.drawRoundRect()
Originally posted by RTL_Shadow:Originally posted by Senekis:Use the graphics class and then draw() it. It’s actually graphics.drawRoundRect(). :)
Originally posted by Senekis:Use the graphics class and then draw() it.
He wants it in a bitmapdata. He needs to draw() it. The drawRoundRect() was implied in the “Use the graphics class” part.
drawRoundRect()
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.
X
Loading