能否增加类似CSS box-sizing: border-box 的属性?
smr1987 opened this issue · comments
SMR Studio commented
graphics的边框,一半在内部,一半在外部,如何像css那样设置 box-sizing: border-box,把边框和内边距计算到定义的宽高里?
LayaAir is a fully platform rendering engine with rich 2D/3D rendering capabilities and a mature integrated development platform
smr1987 opened this issue · comments
graphics的边框,一半在内部,一半在外部,如何像css那样设置 box-sizing: border-box,把边框和内边距计算到定义的宽高里?