Rounded Corners

Shader effect. Add the RoundedCorners or RoundedCornersX4 (each corner can have its radius) component to the GameObject 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.

  • Fade Support bool

    Enable fade support (border color transparency will be multiplied by graphic transparency).