# Rounding

## Rounding﻿ <a href="#rounding.md" id="rounding.md"></a>

Last modified: 03 January 2025

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

### TL <a href="#tl" id="tl"></a>

[<kbd><mark style="background-color:purple;">**Field**<mark style="background-color:purple;"></kbd>](#user-content-fn-1)[^1]

Round top-left corner.

***

## TR <a href="#tr" id="tr"></a>

[<kbd><mark style="background-color:purple;">**Field**<mark style="background-color:purple;"></kbd>](#user-content-fn-1)[^1]

Round top-right corner.

***

## BL <a href="#bl" id="bl"></a>

[<kbd><mark style="background-color:purple;">**Field**<mark style="background-color:purple;"></kbd>](#user-content-fn-1)[^1]

Round bottom-left corner.

***

## BR <a href="#br" id="br"></a>

[<kbd><mark style="background-color:purple;">**Field**<mark style="background-color:purple;"></kbd>](#user-content-fn-1)[^1]

Round bottom-right corner.

***

## T <a href="#t" id="t"></a>

[<kbd><mark style="background-color:purple;">**Field**<mark style="background-color:purple;"></kbd>](#user-content-fn-1)[^1]

Round both of the top corners. This produces the same result as using `bit.bor(draw.Rounding.TL, draw.Rounding.TR)`.

***

## L <a href="#l" id="l"></a>

[<kbd><mark style="background-color:purple;">**Field**<mark style="background-color:purple;"></kbd>](#user-content-fn-1)[^1]

Round both of the left corners. This produces the same result as using `bit.bor(draw.Rounding.TL, draw.Rounding.BL)`.

***

## R <a href="#r" id="r"></a>

[<kbd><mark style="background-color:purple;">**Field**<mark style="background-color:purple;"></kbd>](#user-content-fn-1)[^1]

Round both of the right corners. This produces the same result as using `bit.bor(draw.Rounding.TR, draw.Rounding.BR)`.

***

## B <a href="#b" id="b"></a>

[<kbd><mark style="background-color:purple;">**Field**<mark style="background-color:purple;"></kbd>](#user-content-fn-1)[^1]

Round both of the bottom corners. This produces the same result as using `bit.bor(draw.Rounding.BL, draw.Rounding.BR)`.

***

## ALL <a href="#all" id="all"></a>

[<kbd><mark style="background-color:purple;">**Field**<mark style="background-color:purple;"></kbd>](#user-content-fn-1)[^1]

Round all corners. This produces the same result as using `bit.bor(draw.Rounding.TL, draw.Rounding.TR, draw.Rounding.BL, draw.Rounding.BR)`.

[^1]: This field is a regular field that must be accessed using a dot (.)
