@@ -2,6 +2,39 @@ module Graphics.Element where
22{-| Graphical elements that snap together to build complex widgets and layouts.
33Each Element is a rectangle with a known width and height, making them easy to
44combine and position.
5+
6+# Images
7+@docs image, fittedImage, croppedImage, tiledImage
8+
9+# Styling
10+@docs width, height, size, color, opacity, link, tag
11+
12+# Inspection
13+@docs widthOf, heightOf, sizeOf
14+
15+# Layout
16+@docs flow, up, down, left, right, inward, outward
17+
18+## Layout Aliases
19+There are also some convenience functions for working
20+with `flow` in specific cases:
21+
22+@docs layers, above, below, beside
23+
24+# Positioning
25+@docs spacer, container
26+
27+## Specific Positions
28+
29+To create a `Position` you can use any of the built-in positions
30+which cover nine common positions.
31+@docs middle, midTop, midBottom, midLeft, midRight, topLeft, topRight,
32+ bottomLeft, bottomRight
33+
34+If you need more precision, you can create custom positions.
35+
36+@docs absolute, relative, middleAt, midTopAt, midBottomAt, midLeftAt,
37+ midRightAt, topLeftAt, topRightAt, bottomLeftAt, bottomRightAt
538-}
639
740import open Basics