Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何设置高亮区域的颜色或者边框颜色 #58

Open
NerdAnonymous opened this issue May 24, 2017 · 2 comments
Open

如何设置高亮区域的颜色或者边框颜色 #58

NerdAnonymous opened this issue May 24, 2017 · 2 comments

Comments

@NerdAnonymous
Copy link

我在重写BaseLightShape中的drawShape中设置画笔的颜色 但是无效怎么回事?

@isanwenyu
Copy link
Contributor

绘制遮罩时使用的画笔模式是 mPaint.setXfermode(MODE_DST_OUT);
简而言之就是在灰色背景上挖洞 形状提供了可自定义的

RectLightShape(矩形)、CircleLightShape(圆形)、OvalLightShape(椭圆)

@lantah-1
Copy link

lantah-1 commented Sep 4, 2019

同问

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants