zen_rs/aspects/
border.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Line/Border aspects types

use super::{Color, Size};

// Border
/// Border settings
/// - [BorderPart]
/// - [Color]
/// - [Radius]
pub type BorderStyle = (BorderPart, Color, Radius);
/// Radius (in px)
/// - [Size]
pub type Radius = Size;

/// Part of border
///
/// (Left, Top, Bottom, Right)
pub type BorderPart = (Size, Size, Size, Size);