SetBorderRadius Method

SetBorderRadius(IStyle, StyleLength, StyleLength, StyleLength, StyleLength)

Short hand for setting border radius properties in one go, like in the USS border-radius property.

Declaration
public static void SetBorderRadius(this IStyle style, StyleLength topLeft, StyleLength topRight, StyleLength bottomRight, StyleLength bottomLeft)
Parameters
IStyle style

The style to modify

StyleLength topLeft

The value for borderTopLeftRadius

StyleLength topRight

The value for borderTopRightRadius

StyleLength bottomRight

The value for borderBottomRightRadius

StyleLength bottomLeft

The value for borderBottomLeftRadius