jcberentsen / elm-wiring-diagrams / Diagram.Extent

Represent the horizontal and vertical extents of a two dimensinal area (also called bounding-box).


type alias Extent =
Internal.Extent.Extent

Represent the horizontal and vertical extents of a two dimensinal area

init : Internal.Vec2.Vec2 -> Internal.Vec2.Vec2 -> Extent

Initialize an Extent from two corners, lo and hi