https://linen.dev logo
trilateral3 has some 9-slice support https://git...
# ceramic
o
trilateral3 has some 9-slice support https://github.com/nanjizal/trilateral3/blob/master/src/trilateral3/reShape/NineSlice.hx#L27 you can see a pure webgl example https://trilateralx.github.io/HyperKitGLsamples/src/hyperkitGLsamples/nineSlice/index.html the slice parameters are explained here https://twitter.com/Nanjizal_net/status/1378010774791151617 the relevant class https://nanjizal.github.io/trilateral3/pages/trilateral3/reShape/NineSlice.html trilateral3 is wrapper over cornercontour and will work for 2d only in ceramic it is probably some effort to setup but should be feasible