@ -3,13 +3,25 @@ namespace SmoulderingBeachBall
module ImageMaker =
open System
open System.Drawing
open System.IO
type OverlaySpec = { colour: Brush}
type OverlayType =
| Border
| Complete
type ImageSpec = { width: int; height: int; colour: Brush; filePath: string; overlay: Overlay }
type OverlaySpec = {
colour: Brush;
overlayType: OverlayType
}
type ImageSpec = {
width: int;
height: int;
filePath: string;
overlay: OverlaySpec
let private validateDimension dimension =
match dimension with