width should include two storkeWidth #10101
vaynevayne
started this conversation in
General
Replies: 4 comments 1 reply
-
因为是中部描边,所以是 100 + 50 / 2 + 50 / 2 |
Beta Was this translation helpful? Give feedback.
0 replies
-
有办法修改什么东西,来达到我要的那个值吗? @zhe-he |
Beta Was this translation helpful? Give feedback.
0 replies
-
你用完整的demo可以实现你的需求,左上角可以把demo下载到本地。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
不修改原型能实现吗? 可以的话 我想试一试你这个 另外 你不提一个pr 合到fabric吗? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CheckList
Version
6.0.2
In What environments are you experiencing the problem?
No response
Node Version (if applicable)
None
Link To Reproduction
https://codepen.io/V-alar/pen/mdZKQNq?editors=1010
Steps To Reproduce
width = 100 , strokeWidth: 50
like
box-sizing : content-box
the computed width should is 50 + 100 + 50now it only : 100 + 50
this is a bug?
how to fix it ?
Expected Behavior
like
box-sizing : content-box
the computed width should is 50 + 100 + 50like
box-sizing : border-box
the computed width should is 100Actual Behavior
now the width is 150
Error Message & Stack Trace
No response
Beta Was this translation helpful? Give feedback.
All reactions