rounding
rounding
Last modified: 03 January 2025
This enum is used to determine the rounding for rounded shapes.
tl
Round top-left corner.
tr
Round top-right corner.
bl
Round bottom-left corner.
br
Round bottom-right corner.
t
Round both of the top corners. This produces the same result as using bit.bor(draw.rounding.tl, draw.rounding.tr).
l
Round both of the left corners. This produces the same result as using bit.bor(draw.rounding.tl, draw.rounding.bl).
r
Round both of the right corners. This produces the same result as using bit.bor(draw.rounding.tr, draw.rounding.br).
b
Round both of the bottom corners. This produces the same result as using bit.bor(draw.rounding.bl, draw.rounding.br).
all
Round all corners. This produces the same result as using bit.bor(draw.rounding.tl, draw.rounding.tr, draw.rounding.bl, draw.rounding.br).
Last updated