Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyfa-org/Pyfa
/ CreateDropShadowBitmap
Function
CreateDropShadowBitmap
gui/utils/draw.py:89–92 ·
view source on GitHub ↗
(bitmap, opacity)
Source
from the content-addressed store, hash-verified
87
88
89
def
CreateDropShadowBitmap(bitmap, opacity):
90
img = bitmap.ConvertToImage()
91
img = img.AdjustChannels(0, 0, 0, opacity)
92
return
wx.Bitmap(img)
Callers
nothing calls this directly
Calls
1
AdjustChannels
Method · 0.80
Tested by
no test coverage detected