draw rounded edge arc in android with embossed effect

后端 未结 4 1729
刺人心
刺人心 2021-01-30 05:53

I am trying to develop a custom component i.e. arc slider, I am done with the arc and the thumb but not able to figure out how can I draw the rounded edge arc and also the embos

4条回答
  •  广开言路
    2021-01-30 06:00

    You are using path to draw the arc. Use CornerPathEffect to round the corners. Example here CornerPathEffect example.

    And here is the example for embossed effect. I'm not sure if it is what you want. Embossed effect example

提交回复
热议问题