package bogue

  1. Overview
  2. Docs

Line and box styles

Dependency graph
type line_style =
  1. | Solid
  2. | Dotted of int * int
type line
type border
type shadow
type gradient
type background =
  1. | Image of Image.t
  2. | Solid of Draw.color
  3. | Gradient of gradient
val color_bg : Draw.color -> background
val gradient : ?angle:float -> Draw.color list -> background
val hgradient : Draw.color list -> background
val vgradient : Draw.color list -> background
val line : ?color:Draw.color -> ?width:int -> ?style:line_style -> unit -> line
val border : ?radius:int -> line -> border
val shadow : ?offset:(int * int) -> ?size:int -> ?width:int -> ?radius:int -> unit -> shadow