PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Derby ~ J _ Skulloz
7 sec ago
x86_g g0t u ass
9 sec ago
Untitled
14 sec ago
Untitled
16 sec ago
Untitled
18 sec ago
Untitled
20 sec ago
Untitled
22 sec ago
servicetracker
Java | 23 sec ago
Untitled
By: a guest on
May 2nd, 2012
| syntax:
None
| size: 0.22 KB | hits: 14 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
How can I draw transparent graphics onto transparent BitmapData?
new BitmapData(width, height, true, 0x00000000);
bitmapData.fillRect(bitmapData.rect, 0x00000000);
copyPixels(myPNG, rect, point, null, null, true);
create a
new version
of this paste
RAW Paste Data
How can I draw transparent graphics onto transparent BitmapData? new BitmapData(width, height, true, 0x00000000); bitmapData.fillRect(bitmapData.rect, 0x00000000); copyPixels(myPNG, rect, point, null, null, true);