Type Alias zng::layout::PxCornerRadius
source · pub type PxCornerRadius = CornerRadius2D<Px, Px>;
Expand description
Corner-radius in device pixels.
Aliased Type§
struct PxCornerRadius {
pub top_left: Size2D<Px, Px>,
pub top_right: Size2D<Px, Px>,
pub bottom_right: Size2D<Px, Px>,
pub bottom_left: Size2D<Px, Px>,
}
Fields§
§top_left: Size2D<Px, Px>
Top-left corner radius.
top_right: Size2D<Px, Px>
Top-right corner radius.
bottom_right: Size2D<Px, Px>
Bottom-right corner radius.
bottom_left: Size2D<Px, Px>
Bottom-left corner radius.