Rounded Corners

Shader effect. Add the RoundedCorners or RoundedCornersX4 (each corner can have its radius) component to the game object with the Graphic component.

Note

The Mask component should be placed before this component.

Options

  • Radius float (BorderRadius in case of RoundedCornersX4)

    Corners radius.

  • Border Width float

    Border width (cannot be more than Radius).

  • Border Color Color

    Color of the border.