How to create diagonal gradient for any Rectangle in android using LinearGradient

前端 未结 0 759
囚心锁ツ
囚心锁ツ 2020-11-28 13:03

I want to create linear diagonal gradient for any rectangle and not just a square.

I have a rectangular path with round corners like this

private void          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题