Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (4 sloc) 269 Bytes

Cocoa里实现窗口自绘阴影。

View2 窗口为自绘阴影,颜色跟深,可以控制阴影位置。

View1 窗口为WindowServer服务渲染的默认窗口阴影。

snapshot.png

Something went wrong with that request. Please try again.