package bogue

  1. Overview
  2. Docs

Module Bogue.StyleSource

Line and box styles

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