Type Alias style::values::computed::border::BorderRadius

source ·
pub type BorderRadius = GenericBorderRadius<NonNegativeLengthPercentage>;
Expand description

A computed value for the border-radius property.

Aliased Type§

struct BorderRadius {
    pub top_left: GenericBorderCornerRadius<NonNegative<LengthPercentage>>,
    pub top_right: GenericBorderCornerRadius<NonNegative<LengthPercentage>>,
    pub bottom_right: GenericBorderCornerRadius<NonNegative<LengthPercentage>>,
    pub bottom_left: GenericBorderCornerRadius<NonNegative<LengthPercentage>>,
}

Fields§

§top_left: GenericBorderCornerRadius<NonNegative<LengthPercentage>>

The top left radius.

§top_right: GenericBorderCornerRadius<NonNegative<LengthPercentage>>

The top right radius.

§bottom_right: GenericBorderCornerRadius<NonNegative<LengthPercentage>>

The bottom right radius.

§bottom_left: GenericBorderCornerRadius<NonNegative<LengthPercentage>>

The bottom left radius.