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

Image组件新增功能:支持上下对称,左右对称,上下左右对称的方式填充纹理 #739

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vinson12138
Copy link

这提交使Image组件可以支持以3种方式进行纹理填充。
实现原理和九宫格类似,渲染时额外的创建顶点和uv进行渲染提交。
三种填充模式的渲染效果如下图:
image

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

Successfully merging this pull request may close these issues.

1 participant