MCPcopy 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
89def 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

AdjustChannelsMethod · 0.80

Tested by

no test coverage detected