LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

IStyle.borderRadius

public StyleValue<float> borderRadius;

Description

This is the radius of every corner when a rounded rectangle is drawn in the element's box.

Use borderRadius to specify the same value for corners or use the other specific corner radius properties. See Also: borderTopLeftRadius , borderTopRightRadius , borderBottomRightRadius and borderBottomLeftRadius .