该项目提供了自定义的CircleRawImage和CircleImage两个组件,用于绘制类圆形UI组件。
该组件提供了三种填充模式:FillInside,FillOutside,Edge (具体详情见效果图)
使用自定义组件可减少项目中Mask组件的使用,减少合批打断,可用于优化渲染性能。
如果你可以从本项目中获益,请帮我点亮一颗Start,谢谢。
This project provides two custom components, CircleRawImage and CircleImage, for drawing quasi-circular UI components.
These components offer three filling modes: FillInside, FillOutside, and Edge (see the effect diagram for details).
Using custom components can reduce the use of Mask components in the project, decrease batching interruptions, and can be used to optimize rendering performance.
If you can benefit from this project, please help me light up a Star, thank you.