legos/border

Types

pub type Shadow =
  @internal Shadow

Values

pub fn color(clr: ui.Color) -> ui.Decoration(a, b)
pub fn dashed() -> ui.Decoration(a, b)
pub fn dotted() -> ui.Decoration(a, b)
pub fn inner_shadow(almost_shade: Shadow) -> ui.Decoration(a, b)
pub fn rounded(radius: Int) -> ui.Decoration(a, b)
pub fn rounded_each(
  top_left top_left: Int,
  top_right top_right: Int,
  bottom_left bottom_left: Int,
  bottom_right bottom_right: Int,
) -> ui.Decoration(a, b)
pub fn rounded_pct(radius: Int) -> ui.Decoration(a, b)
pub fn shadow(
  color color: ui.Color,
  offset offset: #(Int, Int),
  blur blur: Int,
  size size: Int,
) -> ui.Decoration(a, b)
pub fn solid() -> ui.Decoration(a, b)
pub fn width(v: Int) -> ui.Decoration(a, b)
pub fn width_each(
  bottom bottom: Int,
  left left: Int,
  right right: Int,
  top top: Int,
) -> ui.Decoration(a, b)
pub fn width_xy(x: Int, y: Int) -> ui.Decoration(a, b)
✨ Search Document