@@ -23,7 +23,7 @@ type Form = {
23data FillStyle
23data FillStyle
24 = Solid Color
24 = Solid Color
25 | Texture String
25 | Texture String
26− | Gradient Gradient
26+ | Grad Gradient
28-- The shape of the ends of a line.
28-- The shape of the ends of a line.
29data LineCap = Flat | Round | Padded
29data LineCap = Flat | Round | Padded
@@ -94,7 +94,7 @@ textured src shape = fill (Texture src) shape
95-- Fill a shape with a [gradient](/docs/Color.elm#linear).
95-- Fill a shape with a [gradient](/docs/Color.elm#linear).
96gradient : Gradient -> Shape -> Form
96gradient : Gradient -> Shape -> Form
97−gradient grad shape = fill (Gradient grad) shape
97+gradient grad shape = fill (Grad grad) shape
99-- Outline a shape with a given line style.
99-- Outline a shape with a given line style.
100outlined : LineStyle -> Shape -> Form
100outlined : LineStyle -> Shape -> Form