Type Alias BorderRadius

Source
pub type BorderRadius = GenericBorderRadius<NonNegativeLengthPercentage>;
Expand description

A computed value for the border-radius property.

Aliased Type§

#[repr(C)]
pub 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.