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

绘制圆角矩形支持设置每个角 #16

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ConanXie
Copy link

@ConanXie ConanXie commented Oct 8, 2024

可以按照 CSS border-radius 规则绘制圆角矩形,支持如下形式:

  1. 四个圆角相同
  borderRadius: 12
  1. 左右圆角
  borderRadius: '8 12'
  1. 左上角起顺时针圆角
  borderRadius: '8 12 24 36'

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