⚠️ This site is under development, some artefacts may be missing or incomplete.
PIXEL UI
DrawFullRoundedBoxEx

DrawFullRoundedBoxEx

PIXEL.DrawFullRoundedBoxEx( number radius, number x, number y, number width, number height, Color color, boolean topLeft, boolean topRight, boolean bottomLeft, boolean bottomRight )

Description

Draws a box with specific corners rounded and can be used for masking.

Arguments

number radius

The radius of the rounded corners.

number x

The X coordinate to draw at.

number y

The Y coordinate to draw at.

number width

The width of the box.

number height

The height of the box.

Color color

The color of the box.

boolean topLeft

Whether the top left corner should be rounded.

boolean topRight

Whether the top right corner should be rounded.

boolean bottomLeft

Whether the bottom left corner should be rounded.

boolean bottomRight

Whether the bottom right corner should be rounded.