Class RoundedBuilder
Provides utility methods for generating CSS border-radius classes.
public class RoundedBuilder
- Inheritance
-
RoundedBuilder
- Inherited Members
Constructors
RoundedBuilder(TwBlazorOptions)
Provides utility methods for generating CSS border-radius classes.
public RoundedBuilder(TwBlazorOptions options)
Parameters
optionsTwBlazorOptions
Methods
GetRounded()
Gets the Tailwind CSS border-radius class for the default rounded level defined in the theme.
public string GetRounded()
Returns
- string
The corresponding Tailwind CSS class.
GetRounded(Rounded?)
Gets the Tailwind CSS border-radius class for the specified rounded level.
public string GetRounded(Rounded? rounded)
Parameters
roundedRounded?The rounded level.
Returns
- string
The corresponding Tailwind CSS class.
GetRoundedBottom(Rounded?)
Gets the Tailwind CSS border-radius class for the bottom corners at the specified rounded level.
public string GetRoundedBottom(Rounded? rounded)
Parameters
roundedRounded?The rounded level.
Returns
- string
The corresponding Tailwind CSS class for bottom border-radius.
GetRoundedEnd()
Gets the Tailwind CSS border-radius class for the end corners (logical, RTL-aware) at the default rounded level defined in the theme.
public string GetRoundedEnd()
Returns
- string
The corresponding Tailwind CSS class for end border-radius.
GetRoundedEnd(Rounded?)
Gets the Tailwind CSS border-radius class for the end corners (logical, RTL-aware) at the specified rounded level.
public string GetRoundedEnd(Rounded? rounded)
Parameters
roundedRounded?The rounded level.
Returns
- string
The corresponding Tailwind CSS class for end border-radius.
GetRoundedStart()
Gets the Tailwind CSS border-radius class for the start corners (logical, RTL-aware) at the default rounded level defined in the theme.
public string GetRoundedStart()
Returns
- string
The corresponding Tailwind CSS class for start border-radius.
GetRoundedStart(Rounded?)
Gets the Tailwind CSS border-radius class for the start corners (logical, RTL-aware) at the specified rounded level.
public string GetRoundedStart(Rounded? rounded)
Parameters
roundedRounded?The rounded level.
Returns
- string
The corresponding Tailwind CSS class for start border-radius.
GetRoundedTop()
Gets the Tailwind CSS border-radius class for the top corners at the default rounded level defined in the theme.
public string GetRoundedTop()
Returns
- string
The corresponding Tailwind CSS class for top border-radius.
GetRoundedTop(Rounded?)
Gets the Tailwind CSS border-radius class for the top corners at the specified rounded level.
public string GetRoundedTop(Rounded? rounded)
Parameters
roundedRounded?The rounded level.
Returns
- string
The corresponding Tailwind CSS class for top border-radius.