Type Alias zng_layout::unit::DipCornerRadius

source ·
pub type DipCornerRadius = CornerRadius2D<Dip, Dip>;
Expand description

Corner-radius in device independent pixels.

Aliased Type§

struct DipCornerRadius {
    pub top_left: Size2D<Dip, Dip>,
    pub top_right: Size2D<Dip, Dip>,
    pub bottom_right: Size2D<Dip, Dip>,
    pub bottom_left: Size2D<Dip, Dip>,
}

Fields§

§top_left: Size2D<Dip, Dip>

Top-left corner radius.

§top_right: Size2D<Dip, Dip>

Top-right corner radius.

§bottom_right: Size2D<Dip, Dip>

Bottom-right corner radius.

§bottom_left: Size2D<Dip, Dip>

Bottom-left corner radius.