rounding

rounding

Last modified: 03 January 2025

This enum is used to determine the rounding for rounded shapes.

tl

Field

Round top-left corner.


tr

Field

Round top-right corner.


bl

Field

Round bottom-left corner.


br

Field

Round bottom-right corner.


t

Field

Round both of the top corners. This produces the same result as using bit.bor(draw.rounding.tl, draw.rounding.tr).


l

Field

Round both of the left corners. This produces the same result as using bit.bor(draw.rounding.tl, draw.rounding.bl).


r

Field

Round both of the right corners. This produces the same result as using bit.bor(draw.rounding.tr, draw.rounding.br).


b

Field

Round both of the bottom corners. This produces the same result as using bit.bor(draw.rounding.bl, draw.rounding.br).


all

Field

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