Types
{ url : String
, size : Rect
, crop : Rect
, resized : Rect
, origin : Point
}
crop data
{ start : Position
, current : Position
}
filling out these docs is a drag
{ src : String
, width : Basics.Int
, height : Basics.Int
}
image object
{ url : String
, crop : Rect
}
image data
{ url : String
, crop : Rect
, image : Maybe Image
, boundingClientRect : Rectangle
, pivot : Vector
, zoom : Basics.Float
, drag : Maybe Drag
}
mobel
{ x : Basics.Int, y : Basics.Int }
point. x, y, all that business
{ x : Basics.Int, y : Basics.Int }
pozition
{ width : Basics.Int
, height : Basics.Int
}
Rectangle..... TWO!!!!!!!!
DOM.Rectangle
grectangle
{ x : Basics.Float, y : Basics.Float }
vegtor
decodeImage : Json.Decode.Decoder Image
decode image object