This file is indexed.

/usr/share/doc/libghc-diagrams-lib-doc/html/Diagrams-TwoD.html is in libghc-diagrams-lib-doc 1.3.0.8-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Diagrams.TwoD</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Diagrams-TwoD.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Diagrams-TwoD.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">diagrams-lib-1.3.0.8: Embedded domain-specific language for declarative graphics</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) 2011-2015 diagrams-lib team (see LICENSE)</td></tr><tr><th>License</th><td>BSD-style (see LICENSE)</td></tr><tr><th>Maintainer</th><td>diagrams-discuss@googlegroups.com</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Diagrams.TwoD</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">R^2</a></li><li><a href="#g:2">Angles</a></li><li><a href="#g:3">Polar Co&#246;rdinates</a></li><li><a href="#g:4">Paths</a><ul><li><a href="#g:5">Stroking</a></li><li><a href="#g:6">Clipping</a></li></ul></li><li><a href="#g:7">Shapes</a><ul><li><a href="#g:8">Rules</a></li><li><a href="#g:9">Circle-ish things</a></li><li><a href="#g:10">General polygons</a></li><li><a href="#g:11">Star polygons</a></li><li><a href="#g:12">Regular polygons</a></li><li><a href="#g:13">Other special polygons</a></li><li><a href="#g:14">Other shapes</a></li><li><a href="#g:15">Arrows</a></li></ul></li><li><a href="#g:16">Text</a></li><li><a href="#g:17">Images</a></li><li><a href="#g:18">Transformations</a><ul><li><a href="#g:19">Rotation</a></li><li><a href="#g:20">Scaling</a></li><li><a href="#g:21">Translation</a></li><li><a href="#g:22">Reflection</a></li><li><a href="#g:23">Shears</a></li></ul></li><li><a href="#g:24">Deformations - non-affine transforms</a></li><li><a href="#g:25">Combinators</a><ul><li><a href="#g:26">Combining multiple diagrams</a></li><li><a href="#g:27">Spacing and envelopes</a></li><li><a href="#g:28">Background</a></li></ul></li><li><a href="#g:29">Alignment</a></li><li><a href="#g:30">Snugging</a></li><li><a href="#g:31">Size</a><ul><li><a href="#g:32">Computing size</a></li><li><a href="#g:33">Specifying size</a></li></ul></li><li><a href="#g:34">Textures</a><ul><li><a href="#g:35">Colors</a></li></ul></li><li><a href="#g:36">Visual aids for understanding the internal model</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module defines the two-dimensional vector space R^2,
 two-dimensional transformations, and various predefined
 two-dimensional shapes.  This module re-exports useful
 functionality from a group of more specific modules:</p><ul><li><a href="Diagrams-TwoD-Types.html">Diagrams.TwoD.Types</a> defines basic types for two-dimensional
     diagrams, including types representing the 2D Euclidean vector
     space and various systems of angle measurement.</li><li><a href="Diagrams-TwoD-Align.html">Diagrams.TwoD.Align</a> defines alignment combinators specialized
     to two dimensions (see <a href="Diagrams-Align.html">Diagrams.Align</a> for more general
     alignment).</li><li><a href="Diagrams-TwoD-Combinators.html">Diagrams.TwoD.Combinators</a> defines ways of combining diagrams
     specialized to two dimensions (see also <a href="Diagrams-Combinators.html">Diagrams.Combinators</a>
     for more general combining).</li><li><a href="Diagrams-TwoD-Attributes.html">Diagrams.TwoD.Attributes</a> defines attributes specific to two
     dimensions, *e.g.* fill color, line color, and gradients.</li><li><a href="Diagrams-TwoD-Transform.html">Diagrams.TwoD.Transform</a> defines R^2-specific transformations
     such as rotation by an angle, and scaling, translation, and
     reflection in the X and Y directions.</li><li><a href="Diagrams-TwoD-Deform.html">Diagrams.TwoD.Deform</a> defines some non-affine transformations
     specific to two dimensions, *e.g.* parallel and perspective
     projections.</li><li><a href="Diagrams-TwoD-Ellipse.html">Diagrams.TwoD.Ellipse</a> defines circles and ellipses.</li><li><a href="Diagrams-TwoD-Arc.html">Diagrams.TwoD.Arc</a> defines circular arcs.</li><li><a href="Diagrams-TwoD-Path.html">Diagrams.TwoD.Path</a> exports various operations on
     two-dimensional paths when viewed as regions of the plane.</li><li><a href="Diagrams-TwoD-Polygons.html">Diagrams.TwoD.Polygons</a> defines general algorithms for drawing
     various types of polygons.</li><li><a href="Diagrams-TwoD-Shapes.html">Diagrams.TwoD.Shapes</a> defines other two-dimensional shapes,
     e.g. various polygons.</li><li><a href="Diagrams-TwoD-Arrow.html">Diagrams.TwoD.Arrow</a> contains tools for drawing arrows between
     things, and <a href="Diagrams-TwoD-Arrowheads.html">Diagrams.TwoD.Arrowheads</a> defines a collection of
     arrowheads.</li><li><a href="Diagrams-TwoD-Text.html">Diagrams.TwoD.Text</a> defines primitive text diagrams.</li><li><a href="Diagrams-TwoD-Image.html">Diagrams.TwoD.Image</a> allows importing external images into diagrams.</li><li><a href="Diagrams-TwoD-Vector.html">Diagrams.TwoD.Vector</a> defines some special 2D vectors and
     functions for converting between vectors and angles.</li><li><a href="Diagrams-TwoD-Size.html">Diagrams.TwoD.Size</a> defines functions for working with the
     size of 2D objects.</li><li><a href="Diagrams-TwoD-Model.html">Diagrams.TwoD.Model</a> defines some aids for visualizing
     diagrams' internal model (local origins, envelopes, etc.)</li></ul></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:V2">V2</a> a :: * -&gt; * = <a href="#v:V2">V2</a> !a !a</li><li class="src short"><span class="keyword">class</span> <a href="#t:R1">R1</a> t <span class="keyword">where</span><ul class="subs"><li><a href="#v:_x">_x</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> f =&gt; (a -&gt; f a) -&gt; t a -&gt; f (t a)</li></ul></li><li class="src short"><span class="keyword">class</span> <a href="Diagrams-TwoD.html#t:R1">R1</a> t =&gt; <a href="#t:R2">R2</a> t <span class="keyword">where</span><ul class="subs"><li><a href="#v:_y">_y</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> f =&gt; (a -&gt; f a) -&gt; t a -&gt; f (t a)</li><li><a href="#v:_xy">_xy</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> f =&gt; (<a href="Diagrams-TwoD.html#t:V2">V2</a> a -&gt; f (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)) -&gt; t a -&gt; f (t a)</li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:P2">P2</a> = <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:T2">T2</a> = <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></li><li class="src short"><a href="#v:r2">r2</a> :: (n, n) -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li class="src short"><a href="#v:unr2">unr2</a> :: <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; (n, n)</li><li class="src short"><a href="#v:mkR2">mkR2</a> :: n -&gt; n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li class="src short"><a href="#v:p2">p2</a> :: (n, n) -&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n</li><li class="src short"><a href="#v:unp2">unp2</a> :: <a href="Diagrams-TwoD.html#t:P2">P2</a> n -&gt; (n, n)</li><li class="src short"><a href="#v:mkP2">mkP2</a> :: n -&gt; n -&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n</li><li class="src short"><a href="#v:unitX">unitX</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; v n</li><li class="src short"><a href="#v:unitY">unitY</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; v n</li><li class="src short"><a href="#v:unit_X">unit_X</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; v n</li><li class="src short"><a href="#v:unit_Y">unit_Y</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; v n</li><li class="src short"><a href="#v:perp">perp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> a =&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> a -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> a</li><li class="src short"><a href="#v:leftTurn">leftTurn</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> n) =&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:xDir">xDir</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> v n</li><li class="src short"><a href="#v:yDir">yDir</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> v n</li><li class="src short"><a href="#v:tau">tau</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> a =&gt; a</li><li class="src short"><a href="#v:angleV">angleV</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n =&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li class="src short"><a href="#v:angleDir">angleDir</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n =&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li class="src short"><a href="#v:signedAngleBetween">signedAngleBetween</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n =&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n</li><li class="src short"><a href="#v:signedAngleBetweenDirs">signedAngleBetweenDirs</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n</li><li class="src short"><span class="keyword">class</span> <a href="#t:HasR">HasR</a> t <span class="keyword">where</span><ul class="subs"><li><a href="#v:_r">_r</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (t n) n</li></ul></li><li class="src short"><a href="#v:r2PolarIso">r2PolarIso</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso-39-">Iso'</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> n) (n, <a href="Diagrams-Angle.html#t:Angle">Angle</a> n)</li><li class="src short"><a href="#v:stroke">stroke</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; t -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:stroke-39-">stroke'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> a) =&gt; <a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a -&gt; t -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokePath">strokePath</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeP">strokeP</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokePath-39-">strokePath'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> a) =&gt; <a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeP-39-">strokeP'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> a) =&gt; <a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeTrail">strokeTrail</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeT">strokeT</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeTrail-39-">strokeTrail'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> a) =&gt; <a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a -&gt; <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeT-39-">strokeT'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> a) =&gt; <a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a -&gt; <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeLine">strokeLine</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Trail.html#t:Trail-39-">Trail'</a> <a href="Diagrams-Trail.html#t:Line">Line</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeLoop">strokeLoop</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Trail.html#t:Trail-39-">Trail'</a> <a href="Diagrams-Trail.html#t:Loop">Loop</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeLocTrail">strokeLocTrail</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeLocT">strokeLocT</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeLocLine">strokeLocLine</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail-39-">Trail'</a> <a href="Diagrams-Trail.html#t:Line">Line</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:strokeLocLoop">strokeLocLoop</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail-39-">Trail'</a> <a href="Diagrams-Trail.html#t:Loop">Loop</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:FillRule">FillRule</a><ul class="subs"><li>= <a href="#v:Winding">Winding</a></li><li>| <a href="#v:EvenOdd">EvenOdd</a></li></ul></li><li class="src short"><a href="#v:fillRule">fillRule</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a =&gt; <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a> -&gt; a -&gt; a</li><li class="src short"><a href="#v:_fillRule">_fillRule</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:StrokeOpts">StrokeOpts</a> a = <a href="#v:StrokeOpts">StrokeOpts</a> {<ul class="subs"><li><a href="#v:_vertexNames">_vertexNames</a> :: [[a]]</li><li><a href="#v:_queryFillRule">_queryFillRule</a> :: <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a></li></ul>}</li><li class="src short"><a href="#v:vertexNames">vertexNames</a> :: <span class="keyword">forall</span> a a'. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens">Lens</a> (<a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a) (<a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a') [[a]] [[a']]</li><li class="src short"><a href="#v:queryFillRule">queryFillRule</a> :: <span class="keyword">forall</span> a. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a) <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a></li><li class="src short"><a href="#v:intersectPoints">intersectPoints</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:SameSpace">SameSpace</a> t s, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> t, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> s, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; t -&gt; s -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n]</li><li class="src short"><a href="#v:intersectPoints-39-">intersectPoints'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:SameSpace">SameSpace</a> t s, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> t, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> s, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t -&gt; s -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n]</li><li class="src short"><a href="#v:intersectPointsP">intersectPointsP</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n]</li><li class="src short"><a href="#v:intersectPointsP-39-">intersectPointsP'</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; n -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n]</li><li class="src short"><a href="#v:intersectPointsT">intersectPointsT</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n]</li><li class="src short"><a href="#v:intersectPointsT-39-">intersectPointsT'</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; n -&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n]</li><li class="src short"><a href="#v:clipBy">clipBy</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> a ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n) =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; a -&gt; a</li><li class="src short"><a href="#v:clipTo">clipTo</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:clipped">clipped</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:_Clip">_Clip</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso">Iso</a> (<a href="Diagrams-TwoD-Path.html#t:Clip">Clip</a> n) (<a href="Diagrams-TwoD-Path.html#t:Clip">Clip</a> n') [<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n] [<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n']</li><li class="src short"><a href="#v:_clip">_clip</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) [<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n]</li><li class="src short"><a href="#v:hrule">hrule</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; n -&gt; t</li><li class="src short"><a href="#v:vrule">vrule</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; n -&gt; t</li><li class="src short"><a href="#v:unitCircle">unitCircle</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n) =&gt; t</li><li class="src short"><a href="#v:circle">circle</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t</li><li class="src short"><a href="#v:ellipse">ellipse</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t</li><li class="src short"><a href="#v:ellipseXY">ellipseXY</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; n -&gt; t</li><li class="src short"><a href="#v:arc">arc</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t</li><li class="src short"><a href="#v:arc-39-">arc'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t</li><li class="src short"><a href="#v:arcCW">arcCW</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; t</li><li class="src short"><a href="#v:arcCCW">arcCCW</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; t</li><li class="src short"><a href="#v:wedge">wedge</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t</li><li class="src short"><a href="#v:arcBetween">arcBetween</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n) =&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; n -&gt; t</li><li class="src short"><a href="#v:annularWedge">annularWedge</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n) =&gt; n -&gt; n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t</li><li class="src short"><a href="#v:polygon">polygon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n -&gt; t</li><li class="src short"><a href="#v:polyTrail">polyTrail</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n -&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><span class="keyword">data</span> <a href="#t:PolygonOpts">PolygonOpts</a> n = <a href="#v:PolygonOpts">PolygonOpts</a> {<ul class="subs"><li><a href="#v:_polyType">_polyType</a> :: <a href="Diagrams-TwoD.html#t:PolyType">PolyType</a> n</li><li><a href="#v:_polyOrient">_polyOrient</a> :: <a href="Diagrams-TwoD.html#t:PolyOrientation">PolyOrientation</a> n</li><li><a href="#v:_polyCenter">_polyCenter</a> :: <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li></ul>}</li><li class="src short"><a href="#v:polyType">polyType</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n) (<a href="Diagrams-TwoD.html#t:PolyType">PolyType</a> n)</li><li class="src short"><a href="#v:polyOrient">polyOrient</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n) (<a href="Diagrams-TwoD.html#t:PolyOrientation">PolyOrientation</a> n)</li><li class="src short"><a href="#v:polyCenter">polyCenter</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n) (<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><span class="keyword">data</span> <a href="#t:PolyType">PolyType</a> n<ul class="subs"><li>= <a href="#v:PolyPolar">PolyPolar</a> [<a href="Diagrams-Angle.html#t:Angle">Angle</a> n] [n]</li><li>| <a href="#v:PolySides">PolySides</a> [<a href="Diagrams-Angle.html#t:Angle">Angle</a> n] [n]</li><li>| <a href="#v:PolyRegular">PolyRegular</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> n</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:PolyOrientation">PolyOrientation</a> n<ul class="subs"><li>= <a href="#v:NoOrient">NoOrient</a></li><li>| <a href="#v:OrientH">OrientH</a></li><li>| <a href="#v:OrientV">OrientV</a></li><li>| <a href="#v:OrientTo">OrientTo</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:StarOpts">StarOpts</a><ul class="subs"><li>= <a href="#v:StarFun">StarFun</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a>)</li><li>| <a href="#v:StarSkip">StarSkip</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></li></ul></li><li class="src short"><a href="#v:star">star</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-TwoD.html#t:StarOpts">StarOpts</a> -&gt; [<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n] -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li class="src short"><a href="#v:regPoly">regPoly</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; n -&gt; t</li><li class="src short"><a href="#v:triangle">triangle</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:eqTriangle">eqTriangle</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:square">square</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:pentagon">pentagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:hexagon">hexagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:heptagon">heptagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:septagon">septagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:octagon">octagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:nonagon">nonagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:decagon">decagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:hendecagon">hendecagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:dodecagon">dodecagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t</li><li class="src short"><a href="#v:unitSquare">unitSquare</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; t</li><li class="src short"><a href="#v:rect">rect</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; n -&gt; t</li><li class="src short"><a href="#v:roundedRect">roundedRect</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n) =&gt; n -&gt; n -&gt; n -&gt; t</li><li class="src short"><a href="#v:roundedRect-39-">roundedRect'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n) =&gt; n -&gt; n -&gt; <a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> n -&gt; t</li><li class="src short"><span class="keyword">data</span> <a href="#t:RoundedRectOpts">RoundedRectOpts</a> d = <a href="#v:RoundedRectOpts">RoundedRectOpts</a> {<ul class="subs"><li><a href="#v:_radiusTL">_radiusTL</a> :: d</li><li><a href="#v:_radiusTR">_radiusTR</a> :: d</li><li><a href="#v:_radiusBL">_radiusBL</a> :: d</li><li><a href="#v:_radiusBR">_radiusBR</a> :: d</li></ul>}</li><li class="src short"><a href="#v:radiusTL">radiusTL</a> :: <span class="keyword">forall</span> d. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> d) d</li><li class="src short"><a href="#v:radiusTR">radiusTR</a> :: <span class="keyword">forall</span> d. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> d) d</li><li class="src short"><a href="#v:radiusBL">radiusBL</a> :: <span class="keyword">forall</span> d. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> d) d</li><li class="src short"><a href="#v:radiusBR">radiusBR</a> :: <span class="keyword">forall</span> d. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> d) d</li><li class="src short"><a href="#v:arrowV">arrowV</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:arrowV-39-">arrowV'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:arrowAt">arrowAt</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:arrowAt-39-">arrowAt'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:arrowBetween">arrowBetween</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:arrowBetween-39-">arrowBetween'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:connect">connect</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; n1 -&gt; n2 -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:connect-39-">connect'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; n1 -&gt; n2 -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:connectPerim">connectPerim</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; n1 -&gt; n2 -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:connectPerim-39-">connectPerim'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; n1 -&gt; n2 -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:connectOutside">connectOutside</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; n1 -&gt; n2 -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:connectOutside-39-">connectOutside'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; n1 -&gt; n2 -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:arrow">arrow</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:arrow-39-">arrow'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:straightShaft">straightShaft</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li class="src short">module <a href="Diagrams-TwoD-Arrowheads.html">Diagrams.TwoD.Arrowheads</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:ArrowOpts">ArrowOpts</a> n = <a href="#v:ArrowOpts">ArrowOpts</a> {<ul class="subs"><li><a href="#v:_arrowHead">_arrowHead</a> :: <a href="Diagrams-TwoD-Arrowheads.html#t:ArrowHT">ArrowHT</a> n</li><li><a href="#v:_arrowTail">_arrowTail</a> :: <a href="Diagrams-TwoD-Arrowheads.html#t:ArrowHT">ArrowHT</a> n</li><li><a href="#v:_arrowShaft">_arrowShaft</a> :: <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li><a href="#v:_headGap">_headGap</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</li><li><a href="#v:_tailGap">_tailGap</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</li><li><a href="#v:_headStyle">_headStyle</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li><a href="#v:_headLength">_headLength</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</li><li><a href="#v:_tailStyle">_tailStyle</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li><a href="#v:_tailLength">_tailLength</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</li><li><a href="#v:_shaftStyle">_shaftStyle</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li></ul>}</li><li class="src short"><a href="#v:arrowHead">arrowHead</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-TwoD-Arrowheads.html#t:ArrowHT">ArrowHT</a> n)</li><li class="src short"><a href="#v:arrowTail">arrowTail</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-TwoD-Arrowheads.html#t:ArrowHT">ArrowHT</a> n)</li><li class="src short"><a href="#v:arrowShaft">arrowShaft</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><a href="#v:headGap">headGap</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n)</li><li class="src short"><a href="#v:tailGap">tailGap</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n)</li><li class="src short"><a href="#v:gaps">gaps</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Traversal-39-">Traversal'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n)</li><li class="src short"><a href="#v:gap">gap</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Traversal-39-">Traversal'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n)</li><li class="src short"><a href="#v:headTexture">headTexture</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n)</li><li class="src short"><a href="#v:headStyle">headStyle</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><a href="#v:tailTexture">tailTexture</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n)</li><li class="src short"><a href="#v:tailStyle">tailStyle</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><a href="#v:shaftTexture">shaftTexture</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n)</li><li class="src short"><a href="#v:shaftStyle">shaftStyle</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><a href="#v:headLength">headLength</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n)</li><li class="src short"><a href="#v:tailLength">tailLength</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n)</li><li class="src short"><a href="#v:lengths">lengths</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Traversal-39-">Traversal'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n)</li><li class="src short"><a href="#v:text">text</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:topLeftText">topLeftText</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:alignedText">alignedText</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b) =&gt; n -&gt; n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:baselineText">baselineText</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:font">font</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; a -&gt; a</li><li class="src short"><a href="#v:italic">italic</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a =&gt; a -&gt; a</li><li class="src short"><a href="#v:oblique">oblique</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a =&gt; a -&gt; a</li><li class="src short"><a href="#v:bold">bold</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a =&gt; a -&gt; a</li><li class="src short"><a href="#v:fontSize">fontSize</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n -&gt; a -&gt; a</li><li class="src short"><a href="#v:_font">_font</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> v n) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>)</li><li class="src short"><a href="#v:_fontSizeR">_fontSizeR</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> v n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measured">Measured</a> n (<a href="file:///usr/share/doc/libghc-monoid-extras-doc/html/Data-Monoid-Recommend.html#t:Recommend">Recommend</a> n))</li><li class="src short"><a href="#v:_fontSize">_fontSize</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> v n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n)</li><li class="src short"><a href="#v:fontSizeO">fontSizeO</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; n -&gt; a -&gt; a</li><li class="src short"><a href="#v:fontSizeL">fontSizeL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; n -&gt; a -&gt; a</li><li class="src short"><a href="#v:fontSizeN">fontSizeN</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; n -&gt; a -&gt; a</li><li class="src short"><a href="#v:fontSizeG">fontSizeG</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; n -&gt; a -&gt; a</li><li class="src short"><span class="keyword">data</span> <a href="#t:DImage">DImage</a> :: * -&gt; * -&gt; * <span class="keyword">where</span><ul class="subs"><li><a href="#v:DImage">DImage</a> ::  <a href="Diagrams-TwoD.html#t:ImageData">ImageData</a> t -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:DImage">DImage</a> n t</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:ImageData">ImageData</a> :: * -&gt; * <span class="keyword">where</span><ul class="subs"><li><a href="#v:ImageRaster">ImageRaster</a> ::  <a href="file:///usr/share/doc/libghc-juicypixels-doc/html/Codec-Picture-Types.html#t:DynamicImage">DynamicImage</a> -&gt; <a href="Diagrams-TwoD.html#t:ImageData">ImageData</a> <a href="Diagrams-TwoD.html#t:Embedded">Embedded</a></li><li><a href="#v:ImageRef">ImageRef</a> ::  <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="Diagrams-TwoD.html#t:ImageData">ImageData</a> <a href="Diagrams-TwoD.html#t:External">External</a></li><li><a href="#v:ImageNative">ImageNative</a> ::  t -&gt; <a href="Diagrams-TwoD.html#t:ImageData">ImageData</a> (<a href="Diagrams-TwoD.html#t:Native">Native</a> t)</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:Embedded">Embedded</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:External">External</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:Native">Native</a> t</li><li class="src short"><a href="#v:image">image</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n a) b) =&gt; <a href="Diagrams-TwoD.html#t:DImage">DImage</a> n a -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:loadImageEmb">loadImageEmb</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n <a href="Diagrams-TwoD.html#t:Embedded">Embedded</a>))</li><li class="src short"><a href="#v:loadImageExt">loadImageExt</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n <a href="Diagrams-TwoD.html#t:External">External</a>))</li><li class="src short"><a href="#v:uncheckedImageRef">uncheckedImageRef</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Diagrams-TwoD.html#t:DImage">DImage</a> n <a href="Diagrams-TwoD.html#t:External">External</a></li><li class="src short"><a href="#v:raster">raster</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Diagrams-TwoD.html#t:DImage">DImage</a> n <a href="Diagrams-TwoD.html#t:Embedded">Embedded</a></li><li class="src short"><a href="#v:rasterDia">rasterDia</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n <a href="Diagrams-TwoD.html#t:Embedded">Embedded</a>) b) =&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:rotation">rotation</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n =&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n</li><li class="src short"><a href="#v:rotate">rotate</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n) =&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t -&gt; t</li><li class="src short"><a href="#v:rotateBy">rotateBy</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:rotated">rotated</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:SameSpace">SameSpace</a> a b, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> a, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> b) =&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso">Iso</a> a b a b</li><li class="src short"><a href="#v:rotationAround">rotationAround</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n =&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n</li><li class="src short"><a href="#v:rotateAround">rotateAround</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n) =&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t -&gt; t</li><li class="src short"><a href="#v:rotationTo">rotationTo</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n</li><li class="src short"><a href="#v:rotateTo">rotateTo</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; t -&gt; t</li><li class="src short"><a href="#v:scalingX">scalingX</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n</li><li class="src short"><a href="#v:scaleX">scaleX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:scalingY">scalingY</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n</li><li class="src short"><a href="#v:scaleY">scaleY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:scaling">scaling</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n</li><li class="src short"><a href="#v:scale">scale</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> a) =&gt; n -&gt; a -&gt; a</li><li class="src short"><a href="#v:scaleToX">scaleToX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:scaleToY">scaleToY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:scaleUToX">scaleUToX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:scaleUToY">scaleUToY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:translationX">translationX</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n</li><li class="src short"><a href="#v:translateX">translateX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:translationY">translationY</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n</li><li class="src short"><a href="#v:translateY">translateY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:translation">translation</a> :: v n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n</li><li class="src short"><a href="#v:translate">translate</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t), <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:Vn">Vn</a> t -&gt; t -&gt; t</li><li class="src short"><a href="#v:reflectionX">reflectionX</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n</li><li class="src short"><a href="#v:reflectX">reflectX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; t -&gt; t</li><li class="src short"><a href="#v:reflectionY">reflectionY</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n</li><li class="src short"><a href="#v:reflectY">reflectY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; t -&gt; t</li><li class="src short"><a href="#v:reflectionAbout">reflectionAbout</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n</li><li class="src short"><a href="#v:reflectAbout">reflectAbout</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; t -&gt; t</li><li class="src short"><a href="#v:shearingX">shearingX</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n</li><li class="src short"><a href="#v:shearX">shearX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:shearingY">shearingY</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n</li><li class="src short"><a href="#v:shearY">shearY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t</li><li class="src short"><a href="#v:parallelX0">parallelX0</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n</li><li class="src short"><a href="#v:perspectiveX1">perspectiveX1</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n</li><li class="src short"><a href="#v:parallelY0">parallelY0</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n</li><li class="src short"><a href="#v:perspectiveY1">perspectiveY1</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n</li><li class="src short"><a href="#v:facingX">facingX</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n</li><li class="src short"><a href="#v:facingY">facingY</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n</li><li class="src short"><a href="#v:-61--61--61-">(===)</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> a) =&gt; a -&gt; a -&gt; a</li><li class="src short"><a href="#v:-124--124--124-">(|||)</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> a) =&gt; a -&gt; a -&gt; a</li><li class="src short"><a href="#v:hcat">hcat</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; [a] -&gt; a</li><li class="src short"><a href="#v:hcat-39-">hcat'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; <a href="Diagrams-Combinators.html#t:CatOpts">CatOpts</a> n -&gt; [a] -&gt; a</li><li class="src short"><a href="#v:hsep">hsep</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; n -&gt; [a] -&gt; a</li><li class="src short"><a href="#v:vcat">vcat</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; [a] -&gt; a</li><li class="src short"><a href="#v:vcat-39-">vcat'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; <a href="Diagrams-Combinators.html#t:CatOpts">CatOpts</a> n -&gt; [a] -&gt; a</li><li class="src short"><a href="#v:vsep">vsep</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; n -&gt; [a] -&gt; a</li><li class="src short"><a href="#v:strutX">strutX</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Metric.html#t:Metric">Metric</a> v, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m</li><li class="src short"><a href="#v:strutY">strutY</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Metric.html#t:Metric">Metric</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m</li><li class="src short"><a href="#v:padX">padX</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Metric.html#t:Metric">Metric</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m</li><li class="src short"><a href="#v:padY">padY</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Metric.html#t:Metric">Metric</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m</li><li class="src short"><a href="#v:extrudeLeft">extrudeLeft</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m</li><li class="src short"><a href="#v:extrudeRight">extrudeRight</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m</li><li class="src short"><a href="#v:extrudeBottom">extrudeBottom</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m</li><li class="src short"><a href="#v:extrudeTop">extrudeTop</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m</li><li class="src short"><a href="#v:rectEnvelope">rectEnvelope</a> :: <span class="keyword">forall</span> b n m. (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m</li><li class="src short"><a href="#v:boundingRect">boundingRect</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:SameSpace">SameSpace</a> a t, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> t, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> a) =&gt; a -&gt; t</li><li class="src short"><a href="#v:bg">bg</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:bgFrame">bgFrame</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:alignL">alignL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:alignR">alignR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:alignT">alignT</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:alignB">alignB</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:alignTL">alignTL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:alignTR">alignTR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:alignBL">alignBL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:alignBR">alignBR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:alignX">alignX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; n -&gt; a -&gt; a</li><li class="src short"><a href="#v:alignY">alignY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; n -&gt; a -&gt; a</li><li class="src short"><a href="#v:centerX">centerX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:centerY">centerY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:centerXY">centerXY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugL">snugL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugR">snugR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugT">snugT</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugB">snugB</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugTL">snugTL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugTR">snugTR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugBL">snugBL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugBR">snugBR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugX">snugX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; n -&gt; a -&gt; a</li><li class="src short"><a href="#v:snugY">snugY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; n -&gt; a -&gt; a</li><li class="src short"><a href="#v:snugCenterX">snugCenterX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugCenterY">snugCenterY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:snugCenterXY">snugCenterXY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a</li><li class="src short"><a href="#v:width">width</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> a) =&gt; a -&gt; n</li><li class="src short"><a href="#v:height">height</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> a) =&gt; a -&gt; n</li><li class="src short"><a href="#v:extentX">extentX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> a) =&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (n, n)</li><li class="src short"><a href="#v:extentY">extentY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> a) =&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (n, n)</li><li class="src short"><a href="#v:mkSizeSpec2D">mkSizeSpec2D</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> n -&gt; <a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li class="src short"><a href="#v:mkWidth">mkWidth</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; n -&gt; <a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li class="src short"><a href="#v:mkHeight">mkHeight</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; n -&gt; <a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li class="src short"><a href="#v:dims2D">dims2D</a> :: n -&gt; n -&gt; <a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li class="src short"><span class="keyword">data</span> <a href="#t:Texture">Texture</a> n<ul class="subs"><li>= <a href="#v:SC">SC</a> <a href="Diagrams-Attributes.html#t:SomeColor">SomeColor</a></li><li>| <a href="#v:LG">LG</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n)</li><li>| <a href="#v:RG">RG</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n)</li></ul></li><li class="src short"><a href="#v:solid">solid</a> :: <a href="Diagrams-Attributes.html#t:Color">Color</a> a =&gt; a -&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n</li><li class="src short"><span class="keyword">data</span> <a href="#t:SpreadMethod">SpreadMethod</a><ul class="subs"><li>= <a href="#v:GradPad">GradPad</a></li><li>| <a href="#v:GradReflect">GradReflect</a></li><li>| <a href="#v:GradRepeat">GradRepeat</a></li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:GradientStop">GradientStop</a> d = <a href="#v:GradientStop">GradientStop</a> {<ul class="subs"><li><a href="#v:_stopColor">_stopColor</a> :: <a href="Diagrams-Attributes.html#t:SomeColor">SomeColor</a></li><li><a href="#v:_stopFraction">_stopFraction</a> :: d</li></ul>}</li><li class="src short"><a href="#v:_FillTexture">_FillTexture</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso-39-">Iso'</a> (<a href="Diagrams-TwoD-Attributes.html#t:FillTexture">FillTexture</a> n) (<a href="file:///usr/share/doc/libghc-monoid-extras-doc/html/Data-Monoid-Recommend.html#t:Recommend">Recommend</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n))</li><li class="src short"><a href="#v:fillTexture">fillTexture</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n -&gt; a -&gt; a</li><li class="src short"><a href="#v:_fillTexture">_fillTexture</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n)</li><li class="src short"><a href="#v:getFillTexture">getFillTexture</a> :: <a href="Diagrams-TwoD-Attributes.html#t:FillTexture">FillTexture</a> n -&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n</li><li class="src short"><a href="#v:_LineTexture">_LineTexture</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso">Iso</a> (<a href="Diagrams-TwoD-Attributes.html#t:LineTexture">LineTexture</a> n) (<a href="Diagrams-TwoD-Attributes.html#t:LineTexture">LineTexture</a> n') (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n')</li><li class="src short"><a href="#v:lineTexture">lineTexture</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n -&gt; a -&gt; a</li><li class="src short"><a href="#v:_lineTexture">_lineTexture</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n)</li><li class="src short"><a href="#v:lineTextureA">lineTextureA</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="Diagrams-TwoD-Attributes.html#t:LineTexture">LineTexture</a> n -&gt; a -&gt; a</li><li class="src short"><a href="#v:getLineTexture">getLineTexture</a> :: <a href="Diagrams-TwoD-Attributes.html#t:LineTexture">LineTexture</a> n -&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n</li><li class="src short"><a href="#v:stopFraction">stopFraction</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n) n</li><li class="src short"><a href="#v:stopColor">stopColor</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n) <a href="Diagrams-Attributes.html#t:SomeColor">SomeColor</a></li><li class="src short"><a href="#v:mkStops">mkStops</a> :: [(<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>, d, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>)] -&gt; [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> d]</li><li class="src short"><span class="keyword">data</span> <a href="#t:LGradient">LGradient</a> n = <a href="#v:LGradient">LGradient</a> {<ul class="subs"><li><a href="#v:_lGradStops">_lGradStops</a> :: [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n]</li><li><a href="#v:_lGradStart">_lGradStart</a> :: <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li><a href="#v:_lGradEnd">_lGradEnd</a> :: <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li><a href="#v:_lGradTrans">_lGradTrans</a> :: <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li><a href="#v:_lGradSpreadMethod">_lGradSpreadMethod</a> :: <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a></li></ul>}</li><li class="src short"><a href="#v:_LG">_LG</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism-39-">Prism'</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n)</li><li class="src short"><a href="#v:lGradStops">lGradStops</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n]</li><li class="src short"><a href="#v:lGradTrans">lGradTrans</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) (<a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><a href="#v:lGradStart">lGradStart</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) (<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><a href="#v:lGradEnd">lGradEnd</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) (<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><a href="#v:lGradSpreadMethod">lGradSpreadMethod</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a></li><li class="src short"><a href="#v:defaultLG">defaultLG</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n =&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n</li><li class="src short"><a href="#v:mkLinearGradient">mkLinearGradient</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n] -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a> -&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n</li><li class="src short"><span class="keyword">data</span> <a href="#t:RGradient">RGradient</a> n = <a href="#v:RGradient">RGradient</a> {<ul class="subs"><li><a href="#v:_rGradStops">_rGradStops</a> :: [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n]</li><li><a href="#v:_rGradCenter0">_rGradCenter0</a> :: <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li><a href="#v:_rGradRadius0">_rGradRadius0</a> :: n</li><li><a href="#v:_rGradCenter1">_rGradCenter1</a> :: <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li><a href="#v:_rGradRadius1">_rGradRadius1</a> :: n</li><li><a href="#v:_rGradTrans">_rGradTrans</a> :: <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</li><li><a href="#v:_rGradSpreadMethod">_rGradSpreadMethod</a> :: <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a></li></ul>}</li><li class="src short"><a href="#v:rGradStops">rGradStops</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n]</li><li class="src short"><a href="#v:rGradCenter0">rGradCenter0</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) (<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><a href="#v:rGradRadius0">rGradRadius0</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) n</li><li class="src short"><a href="#v:rGradCenter1">rGradCenter1</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) (<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><a href="#v:rGradRadius1">rGradRadius1</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) n</li><li class="src short"><a href="#v:rGradTrans">rGradTrans</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) (<a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</li><li class="src short"><a href="#v:rGradSpreadMethod">rGradSpreadMethod</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a></li><li class="src short"><a href="#v:defaultRG">defaultRG</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n =&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n</li><li class="src short"><a href="#v:_RG">_RG</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism-39-">Prism'</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n)</li><li class="src short"><a href="#v:mkRadialGradient">mkRadialGradient</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n] -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; n -&gt; <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a> -&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n</li><li class="src short"><a href="#v:fillColor">fillColor</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="Diagrams-Attributes.html#t:Color">Color</a> c, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; c -&gt; a -&gt; a</li><li class="src short"><a href="#v:_SC">_SC</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism-39-">Prism'</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) <a href="Diagrams-Attributes.html#t:SomeColor">SomeColor</a></li><li class="src short"><a href="#v:_AC">_AC</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism-39-">Prism'</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:fc">fc</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; a -&gt; a</li><li class="src short"><a href="#v:fcA">fcA</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; a -&gt; a</li><li class="src short"><a href="#v:recommendFillColor">recommendFillColor</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="Diagrams-Attributes.html#t:Color">Color</a> c, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; c -&gt; a -&gt; a</li><li class="src short"><a href="#v:lineColor">lineColor</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="Diagrams-Attributes.html#t:Color">Color</a> c, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; c -&gt; a -&gt; a</li><li class="src short"><a href="#v:lc">lc</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; a -&gt; a</li><li class="src short"><a href="#v:lcA">lcA</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; a -&gt; a</li><li class="src short"><a href="#v:showOrigin">showOrigin</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m</li><li class="src short"><a href="#v:showOrigin-39-">showOrigin'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; <a href="Diagrams-TwoD.html#t:OriginOpts">OriginOpts</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m</li><li class="src short"><span class="keyword">data</span> <a href="#t:OriginOpts">OriginOpts</a> n = <a href="#v:OriginOpts">OriginOpts</a> {<ul class="subs"><li><a href="#v:_oColor">_oColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:_oScale">_oScale</a> :: n</li><li><a href="#v:_oMinSize">_oMinSize</a> :: n</li></ul>}</li><li class="src short"><a href="#v:oColor">oColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:OriginOpts">OriginOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:oScale">oScale</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:OriginOpts">OriginOpts</a> n) n</li><li class="src short"><a href="#v:oMinSize">oMinSize</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:OriginOpts">OriginOpts</a> n) n</li><li class="src short"><a href="#v:showEnvelope">showEnvelope</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:showEnvelope-39-">showEnvelope'</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:EnvelopeOpts">EnvelopeOpts</a> n = <a href="#v:EnvelopeOpts">EnvelopeOpts</a> {<ul class="subs"><li><a href="#v:_eColor">_eColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:_eLineWidth">_eLineWidth</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</li><li><a href="#v:_ePoints">_ePoints</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></li></ul>}</li><li class="src short"><a href="#v:eColor">eColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:eLineWidth">eLineWidth</a> :: <span class="keyword">forall</span> n n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens">Lens</a> (<a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n)</li><li class="src short"><a href="#v:ePoints">ePoints</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:showTrace">showTrace</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><a href="#v:showTrace-39-">showTrace'</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:TraceOpts">TraceOpts</a> n = <a href="#v:TraceOpts">TraceOpts</a> {<ul class="subs"><li><a href="#v:_tColor">_tColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:_tScale">_tScale</a> :: n</li><li><a href="#v:_tMinSize">_tMinSize</a> :: n</li><li><a href="#v:_tPoints">_tPoints</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></li></ul>}</li><li class="src short"><a href="#v:tColor">tColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:tScale">tScale</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n) n</li><li class="src short"><a href="#v:tMinSize">tMinSize</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n) n</li><li class="src short"><a href="#v:tPoints">tPoints</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:showLabels">showLabels</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b, <a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> m) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a></li></ul></div><div id="interface"><h1 id="g:1">R^2</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:V2" class="def">V2</a> a :: * -&gt; *</p><div class="doc"><p>A 2-dimensional vector</p><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>pure 1 :: V2 Int
</code></strong>V2 1 1
</pre><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>V2 1 2 + V2 3 4
</code></strong>V2 4 6
</pre><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>V2 1 2 * V2 3 4
</code></strong>V2 3 8
</pre><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>sum (V2 1 2)
</code></strong>3
</pre></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:V2" class="def">V2</a> !a !a</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:V2" class="caption collapser" onclick="toggleSection('i:V2')">Instances</p><div id="section.i:V2" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#t:Monad">Monad</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad-Fix.html#t:MonadFix">MonadFix</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-Prelude.html#t:Applicative">Applicative</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Foldable.html#t:Foldable">Foldable</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Traversable.html#t:Traversable">Traversable</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Generic1">Generic1</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">Apply <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-distributive-doc/html/Data-Distributive.html#t:Distributive">Distributive</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-adjunctions-doc/html/Data-Functor-Rep.html#t:Representable">Representable</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad-Zip.html#t:MonadZip">MonadZip</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Traversal.html#t:Traversable1">Traversable1</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Affine.html#t:Affine">Affine</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R2">R2</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R1">R1</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Metric.html#t:Metric">Metric</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Data-Functor-Classes.html#t:Eq1">Eq1</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Data-Functor-Classes.html#t:Ord1">Ord1</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Data-Functor-Classes.html#t:Read1">Read1</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/transformers-0.4.2.0/Data-Functor-Classes.html#t:Show1">Show1</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">Foldable1 <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">Bind <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">Serial1 <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:HasR">HasR</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span> <a href="src/Diagrams-TwoD-Types.html#line-88" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">Unbox a =&gt; Vector Vector (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">Unbox a =&gt; MVector MVector (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Bounded">Bounded</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Bounded">Bounded</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Data.html#t:Data">Data</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Data.html#t:Data">Data</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ix.html#t:Ix">Ix</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ix.html#t:Ix">Ix</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Generic">Generic</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Foreign-Storable.html#t:Storable">Storable</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Foreign-Storable.html#t:Storable">Storable</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.7.5.0/Data-Binary.html#t:Binary">Binary</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.7.5.0/Data-Binary.html#t:Binary">Binary</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/deepseq-1.4.1.1/Control-DeepSeq.html#t:NFData">NFData</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/deepseq-1.4.1.1/Control-DeepSeq.html#t:NFData">NFData</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-hashable-doc/html/Data-Hashable.html#t:Hashable">Hashable</a> a =&gt; <a href="file:///usr/share/doc/libghc-hashable-doc/html/Data-Hashable.html#t:Hashable">Hashable</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">Unbox a =&gt; Unbox (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-At.html#t:Ixed">Ixed</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Epsilon.html#t:Epsilon">Epsilon</a> a =&gt; <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Epsilon.html#t:Epsilon">Epsilon</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">Serialize a =&gt; Serialize (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left">Serial a =&gt; Serial (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-Coordinates.html#t:Coordinates">Coordinates</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> n)</span> <a href="src/Diagrams-Coordinates.html#line-122" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Indexed.html#t:FunctorWithIndex">FunctorWithIndex</a> (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:E">E</a> <a href="Diagrams-TwoD.html#t:V2">V2</a>) <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Indexed.html#t:FoldableWithIndex">FoldableWithIndex</a> (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:E">E</a> <a href="Diagrams-TwoD.html#t:V2">V2</a>) <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Indexed.html#t:TraversableWithIndex">TraversableWithIndex</a> (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:E">E</a> <a href="Diagrams-TwoD.html#t:V2">V2</a>) <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Each.html#t:Each">Each</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a) (<a href="Diagrams-TwoD.html#t:V2">V2</a> b) a b</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n =&gt; <a href="Diagrams-Trace.html#t:Traced">Traced</a> (<a href="Diagrams-BoundingBox.html#t:BoundingBox">BoundingBox</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Rep1">Rep1</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:D1">D1</a> D1V2 (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:C1">C1</a> C1_0V2 (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t::-42-:">(:*:)</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:S1">S1</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:NoSelector">NoSelector</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Par1">Par1</a>) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:S1">S1</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:NoSelector">NoSelector</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Par1">Par1</a>)))</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-adjunctions-doc/html/Data-Functor-Rep.html#t:Rep">Rep</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> = <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:E">E</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Affine.html#t:Diff">Diff</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> = <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">data</span> MVector s (<a href="Diagrams-TwoD.html#t:V2">V2</a> a) = <a name="v:MV_V2" class="def">MV_V2</a> !<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> !(MVector s a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a) = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:D1">D1</a> D1V2 (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:C1">C1</a> C1_0V2 (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t::-42-:">(:*:)</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:S1">S1</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:NoSelector">NoSelector</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Rec0">Rec0</a> a)) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:S1">S1</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:NoSelector">NoSelector</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-Generics.html#t:Rec0">Rec0</a> a))))</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> n) = <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> n) = n</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">data</span> Vector (<a href="Diagrams-TwoD.html#t:V2">V2</a> a) = <a name="v:V_V2" class="def">V_V2</a> !<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> !(Vector a)</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-At.html#t:Index">Index</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a) = <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:E">E</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-At.html#t:IxValue">IxValue</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> a) = a</span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="Diagrams-Coordinates.html#t:FinalCoord">FinalCoord</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> n) = n</span> <a href="src/Diagrams-Coordinates.html#line-123" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="Diagrams-Coordinates.html#t:PrevDim">PrevDim</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> n) = n</span> <a href="src/Diagrams-Coordinates.html#line-124" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="Diagrams-Coordinates.html#t:Decomposition">Decomposition</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> n) = <a href="Diagrams-Coordinates.html#t::-38-">(:&amp;)</a> n n</span> <a href="src/Diagrams-Coordinates.html#line-125" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:R1" class="def">R1</a> t <span class="keyword">where</span></p><div class="doc"><p>A space that has at least 1 basis vector <code><a href="Diagrams-TwoD.html#v:_x">_x</a></code>.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src">Nothing</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:_x" class="def">_x</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> f =&gt; (a -&gt; f a) -&gt; t a -&gt; f (t a)</p><div class="doc"><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>V1 2 ^._x
</code></strong>2
</pre><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>V1 2 &amp; _x .~ 3
</code></strong>V1 3
</pre></div></div><div class="subs instances"><p id="control.i:R1" class="caption collapser" onclick="toggleSection('i:R1')">Instances</p><div id="section.i:R1" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R1">R1</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor-Identity.html#t:Identity">Identity</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R1">R1</a> <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-V4.html#t:V4">V4</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R1">R1</a> <a href="Diagrams-ThreeD-Types.html#t:V3">V3</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R1">R1</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R1">R1</a> <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-V1.html#t:V1">V1</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R1">R1</a> f =&gt; <a href="Diagrams-TwoD.html#t:R1">R1</a> (<a href="Diagrams-Points.html#t:Point">Point</a> f)</span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="Diagrams-TwoD.html#t:R1">R1</a> t =&gt; <a name="t:R2" class="def">R2</a> t <span class="keyword">where</span></p><div class="doc"><p>A space that distinguishes 2 orthogonal basis vectors <code><a href="Diagrams-TwoD.html#v:_x">_x</a></code> and <code><a href="Diagrams-TwoD.html#v:_y">_y</a></code>, but may have more.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src">Nothing</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:_y" class="def">_y</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> f =&gt; (a -&gt; f a) -&gt; t a -&gt; f (t a)</p><div class="doc"><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>V2 1 2 ^._y
</code></strong>2
</pre><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>V2 1 2 &amp; _y .~ 3
</code></strong>V2 1 3
</pre></div><p class="src"><a name="v:_xy" class="def">_xy</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> f =&gt; (<a href="Diagrams-TwoD.html#t:V2">V2</a> a -&gt; f (<a href="Diagrams-TwoD.html#t:V2">V2</a> a)) -&gt; t a -&gt; f (t a)</p></div><div class="subs instances"><p id="control.i:R2" class="caption collapser" onclick="toggleSection('i:R2')">Instances</p><div id="section.i:R2" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R2">R2</a> <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-V4.html#t:V4">V4</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R2">R2</a> <a href="Diagrams-ThreeD-Types.html#t:V3">V3</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R2">R2</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:R2">R2</a> f =&gt; <a href="Diagrams-TwoD.html#t:R2">R2</a> (<a href="Diagrams-Points.html#t:Point">Point</a> f)</span></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:P2" class="def">P2</a> = <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> <a href="src/Diagrams-TwoD-Types.html#P2" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:T2" class="def">T2</a> = <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> <a href="src/Diagrams-TwoD-Types.html#T2" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:r2" class="def">r2</a> :: (n, n) -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="src/Diagrams-TwoD-Types.html#r2" class="link">Source</a></p><div class="doc"><p>Construct a 2D vector from a pair of components.  See also <code>&amp;</code>.</p></div></div><div class="top"><p class="src"><a name="v:unr2" class="def">unr2</a> :: <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; (n, n) <a href="src/Diagrams-TwoD-Types.html#unr2" class="link">Source</a></p><div class="doc"><p>Convert a 2D vector back into a pair of components.  See also <code>coords</code>.</p></div></div><div class="top"><p class="src"><a name="v:mkR2" class="def">mkR2</a> :: n -&gt; n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="src/Diagrams-TwoD-Types.html#mkR2" class="link">Source</a></p><div class="doc"><p>Curried form of <code><a href="Diagrams-TwoD.html#v:r2">r2</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:p2" class="def">p2</a> :: (n, n) -&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n <a href="src/Diagrams-TwoD-Types.html#p2" class="link">Source</a></p><div class="doc"><p>Construct a 2D point from a pair of coordinates.  See also <code>^&amp;</code>.</p></div></div><div class="top"><p class="src"><a name="v:unp2" class="def">unp2</a> :: <a href="Diagrams-TwoD.html#t:P2">P2</a> n -&gt; (n, n) <a href="src/Diagrams-TwoD-Types.html#unp2" class="link">Source</a></p><div class="doc"><p>Convert a 2D point back into a pair of coordinates.  See also <code>coords</code>.</p></div></div><div class="top"><p class="src"><a name="v:mkP2" class="def">mkP2</a> :: n -&gt; n -&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n <a href="src/Diagrams-TwoD-Types.html#mkP2" class="link">Source</a></p><div class="doc"><p>Curried form of <code><a href="Diagrams-TwoD.html#v:p2">p2</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:unitX" class="def">unitX</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; v n <a href="src/Diagrams-TwoD-Vector.html#unitX" class="link">Source</a></p><div class="doc"><p>The unit vector in the positive X direction.</p></div></div><div class="top"><p class="src"><a name="v:unitY" class="def">unitY</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; v n <a href="src/Diagrams-TwoD-Vector.html#unitY" class="link">Source</a></p><div class="doc"><p>The unit vector in the positive Y direction.</p></div></div><div class="top"><p class="src"><a name="v:unit_X" class="def">unit_X</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; v n <a href="src/Diagrams-TwoD-Vector.html#unit_X" class="link">Source</a></p><div class="doc"><p>The unit vector in the negative X direction.</p></div></div><div class="top"><p class="src"><a name="v:unit_Y" class="def">unit_Y</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; v n <a href="src/Diagrams-TwoD-Vector.html#unit_Y" class="link">Source</a></p><div class="doc"><p>The unit vector in the negative Y direction.</p></div></div><div class="top"><p class="src"><a name="v:perp" class="def">perp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> a =&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> a -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> a</p><div class="doc"><p>the counter-clockwise perpendicular vector</p><pre class="screen"><code class="prompt">&gt;&gt;&gt; </code><strong class="userinput"><code>perp $ V2 10 20
</code></strong>V2 (-20) 10
</pre></div></div><div class="top"><p class="src"><a name="v:leftTurn" class="def">leftTurn</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> n) =&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Diagrams-TwoD-Vector.html#leftTurn" class="link">Source</a></p><div class="doc"><p><code>leftTurn v1 v2</code> tests whether the direction of <code>v2</code> is a left
   turn from <code>v1</code> (that is, if the direction of <code>v2</code> can be obtained
   from that of <code>v1</code> by adding an angle 0 &lt;= theta &lt;= tau/2).</p></div></div><div class="top"><p class="src"><a name="v:xDir" class="def">xDir</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> v n <a href="src/Diagrams-TwoD-Vector.html#xDir" class="link">Source</a></p><div class="doc"><p>A <code><a href="Diagrams-Direction.html#t:Direction">Direction</a></code> pointing in the X direction.</p></div></div><div class="top"><p class="src"><a name="v:yDir" class="def">yDir</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> v n <a href="src/Diagrams-TwoD-Vector.html#yDir" class="link">Source</a></p><div class="doc"><p>A <code><a href="Diagrams-Direction.html#t:Direction">Direction</a></code> pointing in the Y direction.</p></div></div><h1 id="g:2">Angles</h1><div class="top"><p class="src"><a name="v:tau" class="def">tau</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> a =&gt; a <a href="src/Diagrams-Util.html#tau" class="link">Source</a></p><div class="doc"><p>The circle constant, the ratio of a circle's circumference to its
   <em>radius</em>.  Note that <code>pi = tau/2</code>.</p><p>For more information and a well-reasoned argument why we should
   all be using tau instead of pi, see <em>The Tau Manifesto</em>,
   <a href="http://tauday.com/">http://tauday.com/</a>.</p><p>To hear what it sounds like (and to easily memorize the first 30
   digits or so), try <a href="http://youtu.be/3174T-3-59Q">http://youtu.be/3174T-3-59Q</a>.</p></div></div><div class="top"><p class="src"><a name="v:angleV" class="def">angleV</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n =&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="src/Diagrams-TwoD-Vector.html#angleV" class="link">Source</a></p><div class="doc"><p>A unit vector at a specified angle counter-clockwise from the
   positive x-axis</p></div></div><div class="top"><p class="src"><a name="v:angleDir" class="def">angleDir</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n =&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="src/Diagrams-TwoD-Vector.html#angleDir" class="link">Source</a></p><div class="doc"><p>A direction at a specified angle counter-clockwise from the <code><a href="Diagrams-TwoD.html#v:xDir">xDir</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:signedAngleBetween" class="def">signedAngleBetween</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n =&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n <a href="src/Diagrams-TwoD-Vector.html#signedAngleBetween" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:signedAngleBetweenDirs" class="def">signedAngleBetweenDirs</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n <a href="src/Diagrams-TwoD-Vector.html#signedAngleBetweenDirs" class="link">Source</a></p></div><h1 id="g:3">Polar Co&#246;rdinates</h1><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:HasR" class="def">HasR</a> t <span class="keyword">where</span> <a href="src/Diagrams-TwoD-Types.html#HasR" class="link">Source</a></p><div class="doc"><p>A space which has magnitude <code><a href="Diagrams-TwoD.html#v:_r">_r</a></code> that can be calculated numerically.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src">Nothing</p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:_r" class="def">_r</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (t n) n <a href="src/Diagrams-TwoD-Types.html#_r" class="link">Source</a></p></div><div class="subs instances"><p id="control.i:HasR" class="caption collapser" onclick="toggleSection('i:HasR')">Instances</p><div id="section.i:HasR" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:HasR">HasR</a> <a href="Diagrams-TwoD.html#t:V2">V2</a></span> <a href="src/Diagrams-TwoD-Types.html#line-88" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Diagrams-TwoD.html#t:HasR">HasR</a> v =&gt; <a href="Diagrams-TwoD.html#t:HasR">HasR</a> (<a href="Diagrams-Points.html#t:Point">Point</a> v)</span> <a href="src/Diagrams-TwoD-Types.html#line-84" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:r2PolarIso" class="def">r2PolarIso</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso-39-">Iso'</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> n) (n, <a href="Diagrams-Angle.html#t:Angle">Angle</a> n) <a href="src/Diagrams-TwoD-Types.html#r2PolarIso" class="link">Source</a></p></div><h1 id="g:4">Paths</h1><h2 id="g:5">Stroking</h2><div class="top"><p class="src"><a name="v:stroke" class="def">stroke</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; t -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#stroke" class="link">Source</a></p><div class="doc"><p>Convert a <code><a href="Diagrams-Path.html#t:ToPath">ToPath</a></code> object into a diagram.  The resulting diagram has the
   names 0, 1, ... assigned to each of the path's vertices.</p><p>See also <code><a href="Diagrams-TwoD.html#v:stroke-39-">stroke'</a></code>, which takes an extra options record allowing
   its behaviour to be customized.</p></div></div><div class="top"><p class="src"><a name="v:stroke-39-" class="def">stroke'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> a) =&gt; <a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a -&gt; t -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#stroke%27" class="link">Source</a></p><div class="doc"><p>A variant of <code><a href="Diagrams-TwoD.html#v:stroke">stroke</a></code> that takes an extra record of options to
   customize its behaviour.  In particular:</p><ul><li>Names can be assigned to the path's vertices</li></ul><p><code><a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a></code> is an instance of <code><a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a></code>, so <code>stroke' (<code>with</code> &amp;
   ... )</code> syntax may be used.</p></div></div><div class="top"><p class="src"><a name="v:strokePath" class="def">strokePath</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokePath" class="link">Source</a></p><div class="doc"><p><code><a href="Diagrams-TwoD.html#v:stroke">stroke</a></code> specialised to <code><a href="Diagrams-Path.html#t:Path">Path</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:strokeP" class="def">strokeP</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeP" class="link">Source</a></p><div class="doc"><p><code><a href="Diagrams-TwoD.html#v:stroke">stroke</a></code> specialised to <code><a href="Diagrams-Path.html#t:Path">Path</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:strokePath-39-" class="def">strokePath'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> a) =&gt; <a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokePath%27" class="link">Source</a></p><div class="doc"><p><code><a href="Diagrams-TwoD.html#v:stroke-39-">stroke'</a></code> specialised to <code><a href="Diagrams-Path.html#t:Path">Path</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:strokeP-39-" class="def">strokeP'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> a) =&gt; <a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeP%27" class="link">Source</a></p><div class="doc"><p><code><a href="Diagrams-TwoD.html#v:stroke-39-">stroke'</a></code> specialised to <code><a href="Diagrams-Path.html#t:Path">Path</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:strokeTrail" class="def">strokeTrail</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeTrail" class="link">Source</a></p><div class="doc"><p><code><a href="Diagrams-TwoD.html#v:stroke">stroke</a></code> specialised to <code><a href="Diagrams-Trail.html#t:Trail">Trail</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:strokeT" class="def">strokeT</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeT" class="link">Source</a></p><div class="doc"><p><code><a href="Diagrams-TwoD.html#v:stroke">stroke</a></code> specialised to <code><a href="Diagrams-Trail.html#t:Trail">Trail</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:strokeTrail-39-" class="def">strokeTrail'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> a) =&gt; <a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a -&gt; <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeTrail%27" class="link">Source</a></p><div class="doc"><p>A composition of <code><a href="Diagrams-TwoD.html#v:stroke-39-">stroke'</a></code> and <code><a href="Diagrams-Path.html#v:pathFromTrail">pathFromTrail</a></code> for conveniently
   converting a trail directly into a diagram.</p></div></div><div class="top"><p class="src"><a name="v:strokeT-39-" class="def">strokeT'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> a) =&gt; <a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a -&gt; <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeT%27" class="link">Source</a></p><div class="doc"><p>Deprecated synonym for <code><a href="Diagrams-TwoD.html#v:strokeTrail-39-">strokeTrail'</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:strokeLine" class="def">strokeLine</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Trail.html#t:Trail-39-">Trail'</a> <a href="Diagrams-Trail.html#t:Line">Line</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeLine" class="link">Source</a></p><div class="doc"><p>A composition of <code><a href="Diagrams-TwoD.html#v:strokeT">strokeT</a></code> and <code><a href="Diagrams-Trail.html#v:wrapLine">wrapLine</a></code> for conveniently
   converting a line directly into a diagram.</p></div></div><div class="top"><p class="src"><a name="v:strokeLoop" class="def">strokeLoop</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Trail.html#t:Trail-39-">Trail'</a> <a href="Diagrams-Trail.html#t:Loop">Loop</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeLoop" class="link">Source</a></p><div class="doc"><p>A composition of <code><a href="Diagrams-TwoD.html#v:strokeT">strokeT</a></code> and <code><a href="Diagrams-Trail.html#v:wrapLoop">wrapLoop</a></code> for conveniently
   converting a loop directly into a diagram.</p></div></div><div class="top"><p class="src"><a name="v:strokeLocTrail" class="def">strokeLocTrail</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeLocTrail" class="link">Source</a></p><div class="doc"><p>A convenience function for converting a <code>Located Trail</code> directly
   into a diagram; <code>strokeLocTrail = stroke . trailLike</code>.</p></div></div><div class="top"><p class="src"><a name="v:strokeLocT" class="def">strokeLocT</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeLocT" class="link">Source</a></p><div class="doc"><p>Deprecated synonym for <code><a href="Diagrams-TwoD.html#v:strokeLocTrail">strokeLocTrail</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:strokeLocLine" class="def">strokeLocLine</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail-39-">Trail'</a> <a href="Diagrams-Trail.html#t:Line">Line</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeLocLine" class="link">Source</a></p><div class="doc"><p>A convenience function for converting a <code>Located</code> line directly
   into a diagram; <code>strokeLocLine = stroke . trailLike . mapLoc wrapLine</code>.</p></div></div><div class="top"><p class="src"><a name="v:strokeLocLoop" class="def">strokeLocLoop</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail-39-">Trail'</a> <a href="Diagrams-Trail.html#t:Loop">Loop</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#strokeLocLoop" class="link">Source</a></p><div class="doc"><p>A convenience function for converting a <code>Located</code> loop directly
   into a diagram; <code>strokeLocLoop = stroke . trailLike . mapLoc wrapLoop</code>.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:FillRule" class="def">FillRule</a> <a href="src/Diagrams-TwoD-Path.html#FillRule" class="link">Source</a></p><div class="doc"><p>Enumeration of algorithms or &quot;rules&quot; for determining which
   points lie in the interior of a (possibly self-intersecting)
   path.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Winding" class="def">Winding</a></td><td class="doc"><p>Interior points are those with a nonzero
   <em>winding</em> <em>number</em>.  See
   <a href="http://en.wikipedia.org/wiki/Nonzero-rule">http://en.wikipedia.org/wiki/Nonzero-rule</a>.</p></td></tr><tr><td class="src"><a name="v:EvenOdd" class="def">EvenOdd</a></td><td class="doc"><p>Interior points are those where a ray
   extended infinitely in a particular
   direction crosses the path an odd number
   of times. See
   <a href="http://en.wikipedia.org/wiki/Even-odd_rule">http://en.wikipedia.org/wiki/Even-odd_rule</a>.</p></td></tr></table></div><div class="subs instances"><p id="control.i:FillRule" class="caption collapser" onclick="toggleSection('i:FillRule')">Instances</p><div id="section.i:FillRule" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a></span> <a href="src/Diagrams-TwoD-Path.html#line-118" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a></span> <a href="src/Diagrams-TwoD-Path.html#line-118" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a></span> <a href="src/Diagrams-TwoD-Path.html#line-118" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a></span> <a href="src/Diagrams-TwoD-Path.html#line-121" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a></span> <a href="src/Diagrams-TwoD-Path.html#line-124" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:AttributeClass">AttributeClass</a> <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a></span> <a href="src/Diagrams-TwoD-Path.html#line-120" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:fillRule" class="def">fillRule</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a =&gt; <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a> -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Path.html#fillRule" class="link">Source</a></p><div class="doc"><p>Specify the fill rule that should be used for determining which
   points are inside a path.</p></div></div><div class="top"><p class="src"><a name="v:_fillRule" class="def">_fillRule</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a> <a href="src/Diagrams-TwoD-Path.html#_fillRule" class="link">Source</a></p><div class="doc"><p>Lens onto the fill rule of a style.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:StrokeOpts" class="def">StrokeOpts</a> a <a href="src/Diagrams-TwoD-Path.html#StrokeOpts" class="link">Source</a></p><div class="doc"><p>A record of options that control how a path is stroked.
   <code>StrokeOpts</code> is an instance of <code><a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a></code>, so a <code>StrokeOpts</code>
   records can be created using <code><code>with</code> { ... }</code> notation.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:StrokeOpts" class="def">StrokeOpts</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_vertexNames" class="def">_vertexNames</a> :: [[a]]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_queryFillRule" class="def">_queryFillRule</a> :: <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:StrokeOpts" class="caption collapser" onclick="toggleSection('i:StrokeOpts')">Instances</p><div id="section.i:StrokeOpts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a)</span> <a href="src/Diagrams-TwoD-Path.html#line-159" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:vertexNames" class="def">vertexNames</a> :: <span class="keyword">forall</span> a a'. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens">Lens</a> (<a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a) (<a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a') [[a]] [[a']] <a href="src/Diagrams-TwoD-Path.html#vertexNames" class="link">Source</a></p><div class="doc"><p>Atomic names that should be assigned to the vertices of the path so that
   they can be referenced later.  If there are not enough names, the extra
   vertices are not assigned names; if there are too many, the extra names
   are ignored.  Note that this is a <em>list of lists</em> of names, since paths
   can consist of multiple trails.  The first list of names are assigned to
   the vertices of the first trail, the second list to the second trail, and
   so on.</p><p>The default value is the empty list.</p></div></div><div class="top"><p class="src"><a name="v:queryFillRule" class="def">queryFillRule</a> :: <span class="keyword">forall</span> a. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:StrokeOpts">StrokeOpts</a> a) <a href="Diagrams-TwoD.html#t:FillRule">FillRule</a> <a href="src/Diagrams-TwoD-Path.html#queryFillRule" class="link">Source</a></p><div class="doc"><p>The fill rule used for determining which points are inside the path.
   The default is <code><a href="Diagrams-TwoD.html#v:Winding">Winding</a></code>.  NOTE: for now, this only affects the resulting
   diagram's <code><a href="Diagrams-Query.html#t:Query">Query</a></code>, <em>not</em> how it will be drawn!  To set the fill rule
   determining how it is to be drawn, use the <code><a href="Diagrams-TwoD.html#v:fillRule">fillRule</a></code> function.</p></div></div><div class="top"><p class="src"><a name="v:intersectPoints" class="def">intersectPoints</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:SameSpace">SameSpace</a> t s, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> t, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> s, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; t -&gt; s -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n] <a href="src/Diagrams-TwoD-Path.html#intersectPoints" class="link">Source</a></p><div class="doc"><p>Find the intersect points of two objects that can be converted to a path.</p></div></div><div class="top"><p class="src"><a name="v:intersectPoints-39-" class="def">intersectPoints'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:SameSpace">SameSpace</a> t s, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> t, <a href="Diagrams-Path.html#t:ToPath">ToPath</a> s, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t -&gt; s -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n] <a href="src/Diagrams-TwoD-Path.html#intersectPoints%27" class="link">Source</a></p><div class="doc"><p>Find the intersect points of two objects that can be converted to a path
   within the given tolerance.</p></div></div><div class="top"><p class="src"><a name="v:intersectPointsP" class="def">intersectPointsP</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n] <a href="src/Diagrams-TwoD-Path.html#intersectPointsP" class="link">Source</a></p><div class="doc"><p>Compute the intersect points between two paths.</p></div></div><div class="top"><p class="src"><a name="v:intersectPointsP-39-" class="def">intersectPointsP'</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; n -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n] <a href="src/Diagrams-TwoD-Path.html#intersectPointsP%27" class="link">Source</a></p><div class="doc"><p>Compute the intersect points between two paths within given tolerance.</p></div></div><div class="top"><p class="src"><a name="v:intersectPointsT" class="def">intersectPointsT</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n] <a href="src/Diagrams-TwoD-Path.html#intersectPointsT" class="link">Source</a></p><div class="doc"><p>Compute the intersect points between two located trails.</p></div></div><div class="top"><p class="src"><a name="v:intersectPointsT-39-" class="def">intersectPointsT'</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; n -&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) -&gt; [<a href="Diagrams-TwoD.html#t:P2">P2</a> n] <a href="src/Diagrams-TwoD-Path.html#intersectPointsT%27" class="link">Source</a></p><div class="doc"><p>Compute the intersect points between two located trails within the given
   tolerance.</p></div></div><h2 id="g:6">Clipping</h2><div class="top"><p class="src"><a name="v:clipBy" class="def">clipBy</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> a ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n) =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Path.html#clipBy" class="link">Source</a></p><div class="doc"><p>Clip a diagram by the given path:</p><ul><li>Only the parts of the diagram which lie in the interior of the
     path will be drawn.</li><li>The envelope of the diagram is unaffected.</li></ul></div></div><div class="top"><p class="src"><a name="v:clipTo" class="def">clipTo</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#clipTo" class="link">Source</a></p><div class="doc"><p>Clip a diagram to the given path setting its envelope to the
   pointwise minimum of the envelopes of the diagram and path. The
   trace consists of those parts of the original diagram's trace
   which fall within the clipping path, or parts of the path's trace
   within the original diagram.</p></div></div><div class="top"><p class="src"><a name="v:clipped" class="def">clipped</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Path.html#clipped" class="link">Source</a></p><div class="doc"><p>Clip a diagram to the clip path taking the envelope and trace of the clip
   path.</p></div></div><div class="top"><p class="src"><a name="v:_Clip" class="def">_Clip</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso">Iso</a> (<a href="Diagrams-TwoD-Path.html#t:Clip">Clip</a> n) (<a href="Diagrams-TwoD-Path.html#t:Clip">Clip</a> n') [<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n] [<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n'] <a href="src/Diagrams-TwoD-Path.html#_Clip" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:_clip" class="def">_clip</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) [<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n] <a href="src/Diagrams-TwoD-Path.html#_clip" class="link">Source</a></p><div class="doc"><p>Lens onto the Clip in a style. An empty list means no clipping.</p></div></div><h1 id="g:7">Shapes</h1><h2 id="g:8">Rules</h2><div class="top"><p class="src"><a name="v:hrule" class="def">hrule</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#hrule" class="link">Source</a></p><div class="doc"><p>Create a centered horizontal (L-R) line of the given length.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_hruleEx.svg#diagram=hruleEx&amp;width=300" /></p><pre>hruleEx = vcat' (with &amp; sep .~ 0.2) (map hrule [1..5])
        # centerXY # pad 1.1</pre></div></div><div class="top"><p class="src"><a name="v:vrule" class="def">vrule</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#vrule" class="link">Source</a></p><div class="doc"><p>Create a centered vertical (T-B) line of the given length.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_vruleEx.svg#diagram=vruleEx&amp;height=100" /></p><pre>vruleEx = hcat' (with &amp; sep .~ 0.2) (map vrule [1, 1.2 .. 2])
        # centerXY # pad 1.1</pre></div></div><h2 id="g:9">Circle-ish things</h2><div class="top"><p class="src"><a name="v:unitCircle" class="def">unitCircle</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n) =&gt; t <a href="src/Diagrams-TwoD-Ellipse.html#unitCircle" class="link">Source</a></p><div class="doc"><p>A circle of radius 1, with center at the origin.</p></div></div><div class="top"><p class="src"><a name="v:circle" class="def">circle</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Ellipse.html#circle" class="link">Source</a></p><div class="doc"><p>A circle of the given radius, centered at the origin.  As a path,
   it begins at (r,0).</p></div></div><div class="top"><p class="src"><a name="v:ellipse" class="def">ellipse</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Ellipse.html#ellipse" class="link">Source</a></p><div class="doc"><p><code>ellipse e</code> constructs an ellipse with eccentricity <code>e</code> by
   scaling the unit circle in the X direction.  The eccentricity must
   be within the interval [0,1).</p></div></div><div class="top"><p class="src"><a name="v:ellipseXY" class="def">ellipseXY</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; n -&gt; t <a href="src/Diagrams-TwoD-Ellipse.html#ellipseXY" class="link">Source</a></p><div class="doc"><p><code>ellipseXY x y</code> creates an axis-aligned ellipse, centered at the
   origin, with radius <code>x</code> along the x-axis and radius <code>y</code> along the
   y-axis.</p></div></div><div class="top"><p class="src"><a name="v:arc" class="def">arc</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t <a href="src/Diagrams-TwoD-Arc.html#arc" class="link">Source</a></p><div class="doc"><p>Given a start direction <code>d</code> and a sweep angle <code>s</code>, <code><code><a href="Diagrams-TwoD.html#v:arc">arc</a></code> d s</code> is the
   path of a radius one arc starting at <code>d</code> and sweeping out the angle
   <code>s</code> counterclockwise (for positive s).  The resulting
   <code>Trail</code> is allowed to wrap around and overlap itself.</p></div></div><div class="top"><p class="src"><a name="v:arc-39-" class="def">arc'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t <a href="src/Diagrams-TwoD-Arc.html#arc%27" class="link">Source</a></p><div class="doc"><p>Given a radus <code>r</code>, a start direction <code>d</code> and an angle <code>s</code>,
   <code><code><a href="Diagrams-TwoD.html#v:arc-39-">arc'</a></code> r d s</code> is the path of a radius <code>(abs r)</code> arc starting at
   <code>d</code> and sweeping out the angle <code>s</code> counterclockwise (for positive
   s).  The origin of the arc is its center.</p><p><img src="diagrams/src_Diagrams_TwoD_Arc_arc'Ex.svg#diagram=arc'Ex&amp;width=300" /></p><pre>arc'Ex = mconcat [ arc' r xDir (1/4 @@ turn) | r &lt;- [0.5,-1,1.5] ]
       # centerXY # pad 1.1</pre></div></div><div class="top"><p class="src"><a name="v:arcCW" class="def">arcCW</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; t <a href="src/Diagrams-TwoD-Arc.html#arcCW" class="link">Source</a></p><div class="doc"><p>Like <code>arcAngleCCW</code> but clockwise.</p></div></div><div class="top"><p class="src"><a name="v:arcCCW" class="def">arcCCW</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; t <a href="src/Diagrams-TwoD-Arc.html#arcCCW" class="link">Source</a></p><div class="doc"><p>Given a start direction <code>s</code> and end direction <code>e</code>, <code>arcCCW s e</code> is the
   path of a radius one arc counterclockwise between the two directions.
   The origin of the arc is its center.</p></div></div><div class="top"><p class="src"><a name="v:wedge" class="def">wedge</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t) =&gt; n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t <a href="src/Diagrams-TwoD-Arc.html#wedge" class="link">Source</a></p><div class="doc"><p>Create a circular wedge of the given radius, beginning at the
   given direction and extending through the given angle.</p><p><img src="diagrams/src_Diagrams_TwoD_Arc_wedgeEx.svg#diagram=wedgeEx&amp;width=400" /></p><pre>wedgeEx = hcat' (with &amp; sep .~ 0.5)
  [ wedge 1 xDir (1/4 @@ turn)
  , wedge 1 (rotate (7/30 @@ turn) xDir) (4/30 @@ turn)
  , wedge 1 (rotate (1/8 @@ turn) xDir) (3/4 @@ turn)
  ]
  # fc blue
  # centerXY # pad 1.1</pre></div></div><div class="top"><p class="src"><a name="v:arcBetween" class="def">arcBetween</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n) =&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; n -&gt; t <a href="src/Diagrams-TwoD-Arc.html#arcBetween" class="link">Source</a></p><div class="doc"><p><code>arcBetween p q height</code> creates an arc beginning at <code>p</code> and
   ending at <code>q</code>, with its midpoint at a distance of <code>abs height</code>
   away from the straight line from <code>p</code> to <code>q</code>.  A positive value of
   <code>height</code> results in an arc to the left of the line from <code>p</code> to
   <code>q</code>; a negative value yields one to the right.</p><p><img src="diagrams/src_Diagrams_TwoD_Arc_arcBetweenEx.svg#diagram=arcBetweenEx&amp;width=300" /></p><pre>arcBetweenEx = mconcat
  [ arcBetween origin (p2 (2,1)) ht | ht &lt;- [-0.2, -0.1 .. 0.2] ]
  # centerXY # pad 1.1</pre></div></div><div class="top"><p class="src"><a name="v:annularWedge" class="def">annularWedge</a> :: (<a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> t ~ <a href="Diagrams-TwoD.html#t:V2">V2</a>, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n) =&gt; n -&gt; n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t <a href="src/Diagrams-TwoD-Arc.html#annularWedge" class="link">Source</a></p><div class="doc"><p>Create an annular wedge of the given radii, beginning at the
   first direction and extending through the given sweep angle.
   The radius of the outer circle is given first.</p><p><img src="diagrams/src_Diagrams_TwoD_Arc_annularWedgeEx.svg#diagram=annularWedgeEx&amp;width=400" /></p><pre>annularWedgeEx = hsep 0.50
  [ annularWedge 1 0.5 xDir (1/4 @@ turn)
  , annularWedge 1 0.3 (rotate (7/30 @@ turn) xDir) (4/30 @@ turn)
  , annularWedge 1 0.7 (rotate (1/8 @@ turn) xDir) (3/4 @@ turn)
  ]
  # fc blue
  # centerXY # pad 1.1</pre></div></div><h2 id="g:10">General polygons</h2><div class="top"><p class="src"><a name="v:polygon" class="def">polygon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n -&gt; t <a href="src/Diagrams-TwoD-Polygons.html#polygon" class="link">Source</a></p><div class="doc"><p>Generate the polygon described by the given options.</p></div></div><div class="top"><p class="src"><a name="v:polyTrail" class="def">polyTrail</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n -&gt; <a href="Diagrams-Located.html#t:Located">Located</a> (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Polygons.html#polyTrail" class="link">Source</a></p><div class="doc"><p>Generate a polygon.  See <code><a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a></code> for more information.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:PolygonOpts" class="def">PolygonOpts</a> n <a href="src/Diagrams-TwoD-Polygons.html#PolygonOpts" class="link">Source</a></p><div class="doc"><p>Options for specifying a polygon.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:PolygonOpts" class="def">PolygonOpts</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_polyType" class="def">_polyType</a> :: <a href="Diagrams-TwoD.html#t:PolyType">PolyType</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_polyOrient" class="def">_polyOrient</a> :: <a href="Diagrams-TwoD.html#t:PolyOrientation">PolyOrientation</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_polyCenter" class="def">_polyCenter</a> :: <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:PolygonOpts" class="caption collapser" onclick="toggleSection('i:PolygonOpts')">Instances</p><div id="section.i:PolygonOpts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n)</span> <a href="src/Diagrams-TwoD-Polygons.html#line-165" class="link">Source</a></td><td class="doc"><p>The default polygon is a regular pentagon of radius 1, centered
   at the origin, aligned to the x-axis.</p></td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:polyType" class="def">polyType</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n) (<a href="Diagrams-TwoD.html#t:PolyType">PolyType</a> n) <a href="src/Diagrams-TwoD-Polygons.html#polyType" class="link">Source</a></p><div class="doc"><p>Specification for the polygon's vertices.</p></div></div><div class="top"><p class="src"><a name="v:polyOrient" class="def">polyOrient</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n) (<a href="Diagrams-TwoD.html#t:PolyOrientation">PolyOrientation</a> n) <a href="src/Diagrams-TwoD-Polygons.html#polyOrient" class="link">Source</a></p><div class="doc"><p>Should a rotation be applied to the polygon in order to orient it in a
   particular way?</p></div></div><div class="top"><p class="src"><a name="v:polyCenter" class="def">polyCenter</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:PolygonOpts">PolygonOpts</a> n) (<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Polygons.html#polyCenter" class="link">Source</a></p><div class="doc"><p>Should a translation be applied to the polygon in order to place the center
   at a particular location?</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:PolyType" class="def">PolyType</a> n <a href="src/Diagrams-TwoD-Polygons.html#PolyType" class="link">Source</a></p><div class="doc"><p>Method used to determine the vertices of a polygon.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:PolyPolar" class="def">PolyPolar</a> [<a href="Diagrams-Angle.html#t:Angle">Angle</a> n] [n]</td><td class="doc"><p>A &quot;polar&quot; polygon.</p><ul><li>The first argument is a list of <em>central</em>
     <em>angles</em> from each vertex to the next.</li><li>The second argument is a list of <em>radii</em> from
     the origin to each successive vertex.</li></ul><p>To construct an <em>n</em>-gon, use a list of <em>n-1</em>
   angles and <em>n</em> radii.  Extra angles or radii
   are ignored.</p><p>Cyclic polygons (with all vertices lying on a
   circle) can be constructed using a second
   argument of <code>(repeat r)</code>.</p></td></tr><tr><td class="src"><a name="v:PolySides" class="def">PolySides</a> [<a href="Diagrams-Angle.html#t:Angle">Angle</a> n] [n]</td><td class="doc"><p>A polygon determined by the distance between
   successive vertices and the external angles formed
   by each three successive vertices. In other
   words, a polygon specified by &quot;turtle
   graphics&quot;: go straight ahead x1 units; turn by
   external angle a1; go straight ahead x2 units; turn by
   external angle a2; etc. The polygon will be centered
   at the <em>centroid</em> of its vertices.</p><ul><li>The first argument is a list of <em>vertex</em>
     <em>angles</em>, giving the external angle at each vertex
     from the previous vertex to the next.  The
     first angle in the list is the external angle at
     the <em>second</em> vertex; the first edge always starts
     out heading in the positive y direction from
     the first vertex.</li><li>The second argument is a list of distances
     between successive vertices.</li></ul><p>To construct an <em>n</em>-gon, use a list of <em>n-2</em>
   angles and <em>n-1</em> edge lengths.  Extra angles or
   lengths are ignored.</p></td></tr><tr><td class="src"><a name="v:PolyRegular" class="def">PolyRegular</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> n</td><td class="doc"><p>A regular polygon with the given number of
   sides (first argument) and the given radius
   (second argument).</p></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:PolyOrientation" class="def">PolyOrientation</a> n <a href="src/Diagrams-TwoD-Polygons.html#PolyOrientation" class="link">Source</a></p><div class="doc"><p>Determine how a polygon should be oriented.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:NoOrient" class="def">NoOrient</a></td><td class="doc"><p>No special orientation; the first
   vertex will be at (1,0).
   This is the default.</p></td></tr><tr><td class="src"><a name="v:OrientH" class="def">OrientH</a></td><td class="doc"><p>Orient <em>horizontally</em>, so the
   bottommost edge is parallel to
   the x-axis.</p></td></tr><tr><td class="src"><a name="v:OrientV" class="def">OrientV</a></td><td class="doc"><p>Orient <em>vertically</em>, so the
   leftmost edge is parallel to the
   y-axis.</p></td></tr><tr><td class="src"><a name="v:OrientTo" class="def">OrientTo</a> (<a href="Diagrams-TwoD.html#t:V2">V2</a> n)</td><td class="doc"><p>Orient so some edge is
   <em>facing</em> <em>in</em> <em>the</em> <em>direction</em>
   <em>of</em>, that is, perpendicular
   to, the given vector.</p></td></tr></table></div><div class="subs instances"><p id="control.i:PolyOrientation" class="caption collapser" onclick="toggleSection('i:PolyOrientation')">Instances</p><div id="section.i:PolyOrientation" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Diagrams-TwoD.html#t:PolyOrientation">PolyOrientation</a> n)</span> <a href="src/Diagrams-TwoD-Polygons.html#line-141" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Diagrams-TwoD.html#t:PolyOrientation">PolyOrientation</a> n)</span> <a href="src/Diagrams-TwoD-Polygons.html#line-141" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> (<a href="Diagrams-TwoD.html#t:PolyOrientation">PolyOrientation</a> n)</span> <a href="src/Diagrams-TwoD-Polygons.html#line-141" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> (<a href="Diagrams-TwoD.html#t:PolyOrientation">PolyOrientation</a> n)</span> <a href="src/Diagrams-TwoD-Polygons.html#line-141" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h2 id="g:11">Star polygons</h2><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:StarOpts" class="def">StarOpts</a> <a href="src/Diagrams-TwoD-Polygons.html#StarOpts" class="link">Source</a></p><div class="doc"><p>Options for creating &quot;star&quot; polygons, where the edges connect
   possibly non-adjacent vertices.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:StarFun" class="def">StarFun</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a>)</td><td class="doc"><p>Specify the order in which the vertices should be
   connected by a function that maps each vertex
   index to the index of the vertex that should come
   next.  Indexing of vertices begins at 0.</p></td></tr><tr><td class="src"><a name="v:StarSkip" class="def">StarSkip</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>Specify a star polygon by a &quot;skip&quot;.  A skip of
   1 indicates a normal polygon, where edges go
   between successive vertices.  A skip of 2 means
   that edges will connect every second vertex,
   skipping one in between.  Generally, a skip of
   <em>n</em> means that edges will connect every <em>n</em>th
   vertex.</p></td></tr></table></div></div><div class="top"><p class="src"><a name="v:star" class="def">star</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-TwoD.html#t:StarOpts">StarOpts</a> -&gt; [<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n] -&gt; <a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="src/Diagrams-TwoD-Polygons.html#star" class="link">Source</a></p><div class="doc"><p>Create a generalized <em>star</em> <em>polygon</em>.  The <code><a href="Diagrams-TwoD.html#t:StarOpts">StarOpts</a></code> are used
   to determine in which order the given vertices should be
   connected.  The intention is that the second argument of type
   <code>[Point v]</code> could be generated by a call to <code><a href="Diagrams-TwoD.html#v:polygon">polygon</a></code>, <code>regPoly</code>, or
   the like, since a list of vertices is <code><a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a></code>.  But of course
   the list can be generated any way you like.  A <code><code><a href="Diagrams-Path.html#t:Path">Path</a></code> <code>v</code></code> is
   returned (instead of any <code><a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a></code>) because the resulting path
   may have more than one component, for example if the vertices are
   to be connected in several disjoint cycles.</p></div></div><h2 id="g:12">Regular polygons</h2><div class="top"><p class="src"><a name="v:regPoly" class="def">regPoly</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#regPoly" class="link">Source</a></p><div class="doc"><p>Create a regular polygon. The first argument is the number of
   sides, and the second is the <em>length</em> of the sides. (Compare to the
   <code><a href="Diagrams-TwoD.html#v:polygon">polygon</a></code> function with a <code><a href="Diagrams-TwoD.html#v:PolyRegular">PolyRegular</a></code> option, which produces
   polygons of a given <em>radius</em>).</p><p>The polygon will be oriented with one edge parallel to the x-axis.</p></div></div><div class="top"><p class="src"><a name="v:triangle" class="def">triangle</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#triangle" class="link">Source</a></p><div class="doc"><p>An equilateral triangle, with sides of the given length and base
   parallel to the x-axis.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_triangleEx.svg#diagram=triangleEx&amp;width=100" /></p></div></div><div class="top"><p class="src"><a name="v:eqTriangle" class="def">eqTriangle</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#eqTriangle" class="link">Source</a></p><div class="doc"><p>A synonym for <code><a href="Diagrams-TwoD.html#v:triangle">triangle</a></code>, provided for backwards compatibility.</p></div></div><div class="top"><p class="src"><a name="v:square" class="def">square</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#square" class="link">Source</a></p><div class="doc"><p>A square with its center at the origin and sides of the given
   length, oriented parallel to the axes.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_squareEx.svg#diagram=squareEx&amp;width=200" /></p></div></div><div class="top"><p class="src"><a name="v:pentagon" class="def">pentagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#pentagon" class="link">Source</a></p><div class="doc"><p>A regular pentagon, with sides of the given length and base
   parallel to the x-axis.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_pentagonEx.svg#diagram=pentagonEx&amp;width=100" /></p></div></div><div class="top"><p class="src"><a name="v:hexagon" class="def">hexagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#hexagon" class="link">Source</a></p><div class="doc"><p>A regular hexagon, with sides of the given length and base
   parallel to the x-axis.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_hexagonEx.svg#diagram=hexagonEx&amp;width=100" /></p></div></div><div class="top"><p class="src"><a name="v:heptagon" class="def">heptagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#heptagon" class="link">Source</a></p><div class="doc"><p>A regular heptagon, with sides of the given length and base
   parallel to the x-axis.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_heptagonEx.svg#diagram=heptagonEx&amp;width=100" /></p></div></div><div class="top"><p class="src"><a name="v:septagon" class="def">septagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#septagon" class="link">Source</a></p><div class="doc"><p>A synonym for <code><a href="Diagrams-TwoD.html#v:heptagon">heptagon</a></code>.  It is, however, completely inferior,
   being a base admixture of the Latin <em>septum</em> (seven) and the
   Greek &#947;&#969;&#957;&#943;&#945; (angle).</p></div></div><div class="top"><p class="src"><a name="v:octagon" class="def">octagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#octagon" class="link">Source</a></p><div class="doc"><p>A regular octagon, with sides of the given length and base
   parallel to the x-axis.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_octagonEx.svg#diagram=octagonEx&amp;width=100" /></p></div></div><div class="top"><p class="src"><a name="v:nonagon" class="def">nonagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#nonagon" class="link">Source</a></p><div class="doc"><p>A regular nonagon, with sides of the given length and base
   parallel to the x-axis.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_nonagonEx.svg#diagram=nonagonEx&amp;width=100" /></p></div></div><div class="top"><p class="src"><a name="v:decagon" class="def">decagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#decagon" class="link">Source</a></p><div class="doc"><p>A regular decagon, with sides of the given length and base
   parallel to the x-axis.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_decagonEx.svg#diagram=decagonEx&amp;width=100" /></p></div></div><div class="top"><p class="src"><a name="v:hendecagon" class="def">hendecagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#hendecagon" class="link">Source</a></p><div class="doc"><p>A regular hendecagon, with sides of the given length and base
   parallel to the x-axis.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_hendecagonEx.svg#diagram=hendecagonEx&amp;width=100" /></p></div></div><div class="top"><p class="src"><a name="v:dodecagon" class="def">dodecagon</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#dodecagon" class="link">Source</a></p><div class="doc"><p>A regular dodecagon, with sides of the given length and base
   parallel to the x-axis.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_dodecagonEx.svg#diagram=dodecagonEx&amp;width=100" /></p></div></div><h2 id="g:13">Other special polygons</h2><div class="top"><p class="src"><a name="v:unitSquare" class="def">unitSquare</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; t <a href="src/Diagrams-TwoD-Shapes.html#unitSquare" class="link">Source</a></p><div class="doc"><p>A square with its center at the origin and sides of length 1,
   oriented parallel to the axes.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_unitSquareEx.svg#diagram=unitSquareEx&amp;width=100" /></p></div></div><div class="top"><p class="src"><a name="v:rect" class="def">rect</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#rect" class="link">Source</a></p><div class="doc"><p><code>rect w h</code> is an axis-aligned rectangle of width <code>w</code> and height
   <code>h</code>, centered at the origin.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_rectEx.svg#diagram=rectEx&amp;width=150" /></p></div></div><h2 id="g:14">Other shapes</h2><div class="top"><p class="src"><a name="v:roundedRect" class="def">roundedRect</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n) =&gt; n -&gt; n -&gt; n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#roundedRect" class="link">Source</a></p><div class="doc"><p><code>roundedRect w h r</code> generates a closed trail, or closed path
   centered at the origin, of an axis-aligned rectangle with width
   <code>w</code>, height <code>h</code>, and circular rounded corners of radius <code>r</code>.  If
   <code>r</code> is negative the corner will be cut out in a reverse arc. If
   the size of <code>r</code> is larger than half the smaller dimension of <code>w</code>
   and <code>h</code>, then it will be reduced to fit in that range, to prevent
   the corners from overlapping.  The trail or path begins with the
   right edge and proceeds counterclockwise.  If you need to specify
   a different radius for each corner individually, use
   <code><a href="Diagrams-TwoD.html#v:roundedRect-39-">roundedRect'</a></code> instead.</p><p><img src="diagrams/src_Diagrams_TwoD_Shapes_roundedRectEx.svg#diagram=roundedRectEx&amp;width=400" /></p><pre>roundedRectEx = pad 1.1 . centerXY $ hcat' (with &amp; sep .~ 0.2)
  [ roundedRect  0.5 0.4 0.1
  , roundedRect  0.5 0.4 (-0.1)
  , roundedRect' 0.7 0.4 (with &amp; radiusTL .~ 0.2
                               &amp; radiusTR .~ -0.2
                               &amp; radiusBR .~ 0.1)
  ]</pre></div></div><div class="top"><p class="src"><a name="v:roundedRect-39-" class="def">roundedRect'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:RealFloat">RealFloat</a> n) =&gt; n -&gt; n -&gt; <a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> n -&gt; t <a href="src/Diagrams-TwoD-Shapes.html#roundedRect%27" class="link">Source</a></p><div class="doc"><p><code>roundedRect'</code> works like <code>roundedRect</code> but allows you to set the radius of
   each corner indivually, using <code>RoundedRectOpts</code>. The default corner radius is 0.
   Each radius can also be negative, which results in the curves being reversed
   to be inward instead of outward.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:RoundedRectOpts" class="def">RoundedRectOpts</a> d <a href="src/Diagrams-TwoD-Shapes.html#RoundedRectOpts" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:RoundedRectOpts" class="def">RoundedRectOpts</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_radiusTL" class="def">_radiusTL</a> :: d</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_radiusTR" class="def">_radiusTR</a> :: d</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_radiusBL" class="def">_radiusBL</a> :: d</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_radiusBR" class="def">_radiusBR</a> :: d</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:RoundedRectOpts" class="caption collapser" onclick="toggleSection('i:RoundedRectOpts')">Instances</p><div id="section.i:RoundedRectOpts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> d =&gt; <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> d)</span> <a href="src/Diagrams-TwoD-Shapes.html#line-245" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:radiusTL" class="def">radiusTL</a> :: <span class="keyword">forall</span> d. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> d) d <a href="src/Diagrams-TwoD-Shapes.html#radiusTL" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:radiusTR" class="def">radiusTR</a> :: <span class="keyword">forall</span> d. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> d) d <a href="src/Diagrams-TwoD-Shapes.html#radiusTR" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:radiusBL" class="def">radiusBL</a> :: <span class="keyword">forall</span> d. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> d) d <a href="src/Diagrams-TwoD-Shapes.html#radiusBL" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:radiusBR" class="def">radiusBR</a> :: <span class="keyword">forall</span> d. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RoundedRectOpts">RoundedRectOpts</a> d) d <a href="src/Diagrams-TwoD-Shapes.html#radiusBR" class="link">Source</a></p></div><h2 id="g:15">Arrows</h2><div class="top"><p class="src"><a name="v:arrowV" class="def">arrowV</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#arrowV" class="link">Source</a></p><div class="doc"><p><code>arrowV v</code> creates an arrow with the direction and norm of
   the vector <code>v</code> (with its tail at the origin), using default
   parameters.</p></div></div><div class="top"><p class="src"><a name="v:arrowV-39-" class="def">arrowV'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#arrowV%27" class="link">Source</a></p><div class="doc"><p><code>arrowV' v</code> creates an arrow with the direction and norm of
   the vector <code>v</code> (with its tail at the origin).</p></div></div><div class="top"><p class="src"><a name="v:arrowAt" class="def">arrowAt</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#arrowAt" class="link">Source</a></p><div class="doc"><p>Create an arrow starting at s with length and direction determined by
   the vector v.</p></div></div><div class="top"><p class="src"><a name="v:arrowAt-39-" class="def">arrowAt'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#arrowAt%27" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:arrowBetween" class="def">arrowBetween</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#arrowBetween" class="link">Source</a></p><div class="doc"><p><code>arrowBetween s e</code> creates an arrow pointing from <code>s</code> to <code>e</code>
   with default parameters.</p></div></div><div class="top"><p class="src"><a name="v:arrowBetween-39-" class="def">arrowBetween'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#arrowBetween%27" class="link">Source</a></p><div class="doc"><p><code>arrowBetween' opts s e</code> creates an arrow pointing from <code>s</code> to
   <code>e</code> using the given options.  In particular, it scales and
   rotates <code>arrowShaft</code> to go between <code>s</code> and <code>e</code>, taking head,
   tail, and gaps into account.</p></div></div><div class="top"><p class="src"><a name="v:connect" class="def">connect</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; n1 -&gt; n2 -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#connect" class="link">Source</a></p><div class="doc"><p>Connect two diagrams with a straight arrow.</p></div></div><div class="top"><p class="src"><a name="v:connect-39-" class="def">connect'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; n1 -&gt; n2 -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#connect%27" class="link">Source</a></p><div class="doc"><p>Connect two diagrams with an arbitrary arrow.</p></div></div><div class="top"><p class="src"><a name="v:connectPerim" class="def">connectPerim</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; n1 -&gt; n2 -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#connectPerim" class="link">Source</a></p><div class="doc"><p>Connect two diagrams at point on the perimeter of the diagrams, choosen
   by angle.</p></div></div><div class="top"><p class="src"><a name="v:connectPerim-39-" class="def">connectPerim'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; n1 -&gt; n2 -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#connectPerim%27" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:connectOutside" class="def">connectOutside</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; n1 -&gt; n2 -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#connectOutside" class="link">Source</a></p><div class="doc"><p>Draw an arrow from diagram named &quot;n1&quot; to diagram named &quot;n2&quot;.  The
   arrow lies on the line between the centres of the diagrams, but is
   drawn so that it stops at the boundaries of the diagrams, using traces
   to find the intersection points.</p></div></div><div class="top"><p class="src"><a name="v:connectOutside-39-" class="def">connectOutside'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="Diagrams-Names.html#t:IsName">IsName</a> n1, <a href="Diagrams-Names.html#t:IsName">IsName</a> n2) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; n1 -&gt; n2 -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#connectOutside%27" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:arrow" class="def">arrow</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#arrow" class="link">Source</a></p><div class="doc"><p><code>arrow len</code> creates an arrow of length <code>len</code> with default
   parameters, starting at the origin and ending at the point
   <code>(len,0)</code>.</p></div></div><div class="top"><p class="src"><a name="v:arrow-39-" class="def">arrow'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n -&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Arrow.html#arrow%27" class="link">Source</a></p><div class="doc"><p><code>arrow' opts len</code> creates an arrow of length <code>len</code> using the
   given options, starting at the origin and ending at the point
   <code>(len,0)</code>.  In particular, it scales the given <code><a href="Diagrams-TwoD.html#v:arrowShaft">arrowShaft</a></code> so
   that the entire arrow has length <code>len</code>.</p></div></div><div class="top"><p class="src"><a name="v:straightShaft" class="def">straightShaft</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="src/Diagrams-TwoD-Arrow.html#straightShaft" class="link">Source</a></p><div class="doc"><p>Straight line arrow shaft.</p></div></div><div class="top"><p class="src">module <a href="Diagrams-TwoD-Arrowheads.html">Diagrams.TwoD.Arrowheads</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:ArrowOpts" class="def">ArrowOpts</a> n <a href="src/Diagrams-TwoD-Arrow.html#ArrowOpts" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ArrowOpts" class="def">ArrowOpts</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_arrowHead" class="def">_arrowHead</a> :: <a href="Diagrams-TwoD-Arrowheads.html#t:ArrowHT">ArrowHT</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_arrowTail" class="def">_arrowTail</a> :: <a href="Diagrams-TwoD-Arrowheads.html#t:ArrowHT">ArrowHT</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_arrowShaft" class="def">_arrowShaft</a> :: <a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_headGap" class="def">_headGap</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_tailGap" class="def">_tailGap</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_headStyle" class="def">_headStyle</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_headLength" class="def">_headLength</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_tailStyle" class="def">_tailStyle</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_tailLength" class="def">_tailLength</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_shaftStyle" class="def">_shaftStyle</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:ArrowOpts" class="caption collapser" onclick="toggleSection('i:ArrowOpts')">Instances</p><div id="section.i:ArrowOpts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n)</span> <a href="src/Diagrams-TwoD-Arrow.html#line-165" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:arrowHead" class="def">arrowHead</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-TwoD-Arrowheads.html#t:ArrowHT">ArrowHT</a> n) <a href="src/Diagrams-TwoD-Arrow.html#arrowHead" class="link">Source</a></p><div class="doc"><p>A shape to place at the head of the arrow.</p></div></div><div class="top"><p class="src"><a name="v:arrowTail" class="def">arrowTail</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-TwoD-Arrowheads.html#t:ArrowHT">ArrowHT</a> n) <a href="src/Diagrams-TwoD-Arrow.html#arrowTail" class="link">Source</a></p><div class="doc"><p>A shape to place at the tail of the arrow.</p></div></div><div class="top"><p class="src"><a name="v:arrowShaft" class="def">arrowShaft</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-Trail.html#t:Trail">Trail</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Arrow.html#arrowShaft" class="link">Source</a></p><div class="doc"><p>The trail to use for the arrow shaft.</p></div></div><div class="top"><p class="src"><a name="v:headGap" class="def">headGap</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) <a href="src/Diagrams-TwoD-Arrow.html#headGap" class="link">Source</a></p><div class="doc"><p>Distance to leave between the head and the target point.</p></div></div><div class="top"><p class="src"><a name="v:tailGap" class="def">tailGap</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) <a href="src/Diagrams-TwoD-Arrow.html#tailGap" class="link">Source</a></p><div class="doc"><p>Distance to leave between the starting point and the tail.</p></div></div><div class="top"><p class="src"><a name="v:gaps" class="def">gaps</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Traversal-39-">Traversal'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) <a href="src/Diagrams-TwoD-Arrow.html#gaps" class="link">Source</a></p><div class="doc"><p>Set both the <code>headGap</code> and <code>tailGap</code> simultaneously.</p></div></div><div class="top"><p class="src"><a name="v:gap" class="def">gap</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Traversal-39-">Traversal'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) <a href="src/Diagrams-TwoD-Arrow.html#gap" class="link">Source</a></p><div class="doc"><p>Same as gaps, provided for backward compatiiblity.</p></div></div><div class="top"><p class="src"><a name="v:headTexture" class="def">headTexture</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) <a href="src/Diagrams-TwoD-Arrow.html#headTexture" class="link">Source</a></p><div class="doc"><p>A lens for setting or modifying the texture of an arrowhead. For
   example, one may write <code>... (with &amp; headTexture .~ grad)</code> to get an
   arrow with a head filled with a gradient, assuming grad has been
   defined. Or <code>... (with &amp; headTexture .~ solid blue</code> to set the head
   color to blue. For more general control over the style of arrowheads,
   see <code><a href="Diagrams-TwoD.html#v:headStyle">headStyle</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:headStyle" class="def">headStyle</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Arrow.html#headStyle" class="link">Source</a></p><div class="doc"><p>Style to apply to the head. <code>headStyle</code> is modified by using the lens
   combinator <code>%~</code> to change the current style. For example, to change
   an opaque black arrowhead to translucent orange:
   <code>(with &amp; headStyle %~ fc orange .  opacity 0.75)</code>.</p></div></div><div class="top"><p class="src"><a name="v:tailTexture" class="def">tailTexture</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) <a href="src/Diagrams-TwoD-Arrow.html#tailTexture" class="link">Source</a></p><div class="doc"><p>A lens for setting or modifying the texture of an arrow
   tail. This is *not* a valid lens (see <code><a href="Diagrams-Attributes.html#v:committed">committed</a></code>).</p></div></div><div class="top"><p class="src"><a name="v:tailStyle" class="def">tailStyle</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Arrow.html#tailStyle" class="link">Source</a></p><div class="doc"><p>Style to apply to the tail. See <code><a href="Diagrams-TwoD.html#v:headStyle">headStyle</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:shaftTexture" class="def">shaftTexture</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) <a href="src/Diagrams-TwoD-Arrow.html#shaftTexture" class="link">Source</a></p><div class="doc"><p>A lens for setting or modifying the texture of an arrow
   shaft.</p></div></div><div class="top"><p class="src"><a name="v:shaftStyle" class="def">shaftStyle</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Arrow.html#shaftStyle" class="link">Source</a></p><div class="doc"><p>Style to apply to the shaft. See <code><a href="Diagrams-TwoD.html#v:headStyle">headStyle</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:headLength" class="def">headLength</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) <a href="src/Diagrams-TwoD-Arrow.html#headLength" class="link">Source</a></p><div class="doc"><p>The length from the start of the joint to the tip of the head.</p></div></div><div class="top"><p class="src"><a name="v:tailLength" class="def">tailLength</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) <a href="src/Diagrams-TwoD-Arrow.html#tailLength" class="link">Source</a></p><div class="doc"><p>The length of the tail plus its joint.</p></div></div><div class="top"><p class="src"><a name="v:lengths" class="def">lengths</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Traversal-39-">Traversal'</a> (<a href="Diagrams-TwoD.html#t:ArrowOpts">ArrowOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) <a href="src/Diagrams-TwoD-Arrow.html#lengths" class="link">Source</a></p><div class="doc"><p>Set both the <code>headLength</code> and <code>tailLength</code> simultaneously.</p></div></div><h1 id="g:16">Text</h1><div class="top"><p class="src"><a name="v:text" class="def">text</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Text.html#text" class="link">Source</a></p><div class="doc"><p>Create a primitive text diagram from the given string, with center
   alignment, equivalent to <code><code><a href="Diagrams-TwoD.html#v:alignedText">alignedText</a></code> 0.5 0.5</code>.</p><p>Note that it <em>takes up no space</em>, as text size information is not
   available.</p></div></div><div class="top"><p class="src"><a name="v:topLeftText" class="def">topLeftText</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Text.html#topLeftText" class="link">Source</a></p><div class="doc"><p>Create a primitive text diagram from the given string, origin at
   the top left corner of the text's bounding box, equivalent to
   <code><code><a href="Diagrams-TwoD.html#v:alignedText">alignedText</a></code> 0 1</code>.</p><p>Note that it <em>takes up no space</em>.</p></div></div><div class="top"><p class="src"><a name="v:alignedText" class="def">alignedText</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b) =&gt; n -&gt; n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Text.html#alignedText" class="link">Source</a></p><div class="doc"><p>Create a primitive text diagram from the given string, with the
   origin set to a point interpolated within the bounding box.  The
   first parameter varies from 0 (left) to 1 (right), and the second
   parameter from 0 (bottom) to 1 (top). Some backends do not
   implement this and instead snap to closest corner or the center.</p><p>The height of this box is determined by the font's potential ascent
   and descent, rather than the height of the particular string.</p><p>Note that it <em>takes up no space</em>.</p></div></div><div class="top"><p class="src"><a name="v:baselineText" class="def">baselineText</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Text.html#baselineText" class="link">Source</a></p><div class="doc"><p>Create a primitive text diagram from the given string, with the
   origin set to be on the baseline, at the beginning (although not
   bounding).  This is the reference point of showText in the Cairo
   graphics library.</p><p>Note that it <em>takes up no space</em>.</p></div></div><div class="top"><p class="src"><a name="v:font" class="def">font</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Text.html#font" class="link">Source</a></p><div class="doc"><p>Specify a font family to be used for all text within a diagram.</p></div></div><div class="top"><p class="src"><a name="v:italic" class="def">italic</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Text.html#italic" class="link">Source</a></p><div class="doc"><p>Set all text in italics.</p></div></div><div class="top"><p class="src"><a name="v:oblique" class="def">oblique</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Text.html#oblique" class="link">Source</a></p><div class="doc"><p>Set all text using an oblique slant.</p></div></div><div class="top"><p class="src"><a name="v:bold" class="def">bold</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Text.html#bold" class="link">Source</a></p><div class="doc"><p>Set all text using a bold font weight.</p></div></div><div class="top"><p class="src"><a name="v:fontSize" class="def">fontSize</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Text.html#fontSize" class="link">Source</a></p><div class="doc"><p>Set the font size, that is, the size of the font's em-square as
   measured within the current local vector space.  The default size
   is <code>1</code>.</p></div></div><div class="top"><p class="src"><a name="v:_font" class="def">_font</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> v n) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a>) <a href="src/Diagrams-TwoD-Text.html#_font" class="link">Source</a></p><div class="doc"><p>Lens onto the font name of a style.</p></div></div><div class="top"><p class="src"><a name="v:_fontSizeR" class="def">_fontSizeR</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> v n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measured">Measured</a> n (<a href="file:///usr/share/doc/libghc-monoid-extras-doc/html/Data-Monoid-Recommend.html#t:Recommend">Recommend</a> n)) <a href="src/Diagrams-TwoD-Text.html#_fontSizeR" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:_fontSize" class="def">_fontSize</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> v n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) <a href="src/Diagrams-TwoD-Text.html#_fontSize" class="link">Source</a></p><div class="doc"><p>Lens to commit a font size. This is *not* a valid lens (see
   <code>commited</code>.</p></div></div><div class="top"><p class="src"><a name="v:fontSizeO" class="def">fontSizeO</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Text.html#fontSizeO" class="link">Source</a></p><div class="doc"><p>A convenient synonym for 'fontSize (Output w)'.</p></div></div><div class="top"><p class="src"><a name="v:fontSizeL" class="def">fontSizeL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Text.html#fontSizeL" class="link">Source</a></p><div class="doc"><p>A convenient sysnonym for 'fontSize (Local w)'.</p></div></div><div class="top"><p class="src"><a name="v:fontSizeN" class="def">fontSizeN</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Text.html#fontSizeN" class="link">Source</a></p><div class="doc"><p>A convenient synonym for 'fontSize (Normalized w)'.</p></div></div><div class="top"><p class="src"><a name="v:fontSizeG" class="def">fontSizeG</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> a ~ n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Text.html#fontSizeG" class="link">Source</a></p><div class="doc"><p>A convenient synonym for 'fontSize (Global w)'.</p></div></div><h1 id="g:17">Images</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:DImage" class="def">DImage</a> :: * -&gt; * -&gt; * <span class="keyword">where</span> <a href="src/Diagrams-TwoD-Image.html#DImage" class="link">Source</a></p><div class="doc"><p>An image primitive, the two ints are width followed by height.
   Will typically be created by <code>loadImageEmb</code> or <code>loadImageExt</code> which,
   will handle setting the width and height to the actual width and height
   of the image.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:DImage" class="def">DImage</a> ::  <a href="Diagrams-TwoD.html#t:ImageData">ImageData</a> t -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:DImage">DImage</a> n t</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:DImage" class="caption collapser" onclick="toggleSection('i:DImage')">Instances</p><div id="section.i:DImage" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n =&gt; <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n a)</span> <a href="src/Diagrams-TwoD-Image.html#line-75" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n =&gt; <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n a)</span> <a href="src/Diagrams-TwoD-Image.html#line-78" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n a) <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:NullBackend">NullBackend</a></span> <a href="src/Diagrams-TwoD-Image.html#line-144" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n a) = <a href="Diagrams-TwoD.html#t:V2">V2</a></span> <a href="src/Diagrams-TwoD-Image.html#line-72" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n a) = n</span> <a href="src/Diagrams-TwoD-Image.html#line-73" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:ImageData" class="def">ImageData</a> :: * -&gt; * <span class="keyword">where</span> <a href="src/Diagrams-TwoD-Image.html#ImageData" class="link">Source</a></p><div class="doc"><p><code><a href="Diagrams-TwoD.html#t:ImageData">ImageData</a></code> is either a JuicyPixels <code>DynamicImage</code> tagged as <code><a href="Diagrams-TwoD.html#t:Embedded">Embedded</a></code> or
   a reference tagged as <code><a href="Diagrams-TwoD.html#t:External">External</a></code>. Additionally <code><a href="Diagrams-TwoD.html#t:Native">Native</a></code> is provided for
   external libraries to hook into.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:ImageRaster" class="def">ImageRaster</a> ::  <a href="file:///usr/share/doc/libghc-juicypixels-doc/html/Codec-Picture-Types.html#t:DynamicImage">DynamicImage</a> -&gt; <a href="Diagrams-TwoD.html#t:ImageData">ImageData</a> <a href="Diagrams-TwoD.html#t:Embedded">Embedded</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ImageRef" class="def">ImageRef</a> ::  <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="Diagrams-TwoD.html#t:ImageData">ImageData</a> <a href="Diagrams-TwoD.html#t:External">External</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:ImageNative" class="def">ImageNative</a> ::  t -&gt; <a href="Diagrams-TwoD.html#t:ImageData">ImageData</a> (<a href="Diagrams-TwoD.html#t:Native">Native</a> t)</td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Embedded" class="def">Embedded</a> <a href="src/Diagrams-TwoD-Image.html#Embedded" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:External" class="def">External</a> <a href="src/Diagrams-TwoD-Image.html#External" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Native" class="def">Native</a> t <a href="src/Diagrams-TwoD-Image.html#Native" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:image" class="def">image</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n a) b) =&gt; <a href="Diagrams-TwoD.html#t:DImage">DImage</a> n a -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Image.html#image" class="link">Source</a></p><div class="doc"><p>Make a <code><a href="Diagrams-TwoD.html#t:DImage">DImage</a></code> into a <code><a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Diagram">Diagram</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:loadImageEmb" class="def">loadImageEmb</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n <a href="Diagrams-TwoD.html#t:Embedded">Embedded</a>)) <a href="src/Diagrams-TwoD-Image.html#loadImageEmb" class="link">Source</a></p><div class="doc"><p>Use JuicyPixels to read an image in any format and wrap it in a <code><a href="Diagrams-TwoD.html#t:DImage">DImage</a></code>.
   The width and height of the image are set to their actual values.</p></div></div><div class="top"><p class="src"><a name="v:loadImageExt" class="def">loadImageExt</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Either.html#t:Either">Either</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-String.html#t:String">String</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n <a href="Diagrams-TwoD.html#t:External">External</a>)) <a href="src/Diagrams-TwoD-Image.html#loadImageExt" class="link">Source</a></p><div class="doc"><p>Check that a file exists, and use JuicyPixels to figure out
   the right size, but save a reference to the image instead
   of the raster data</p></div></div><div class="top"><p class="src"><a name="v:uncheckedImageRef" class="def">uncheckedImageRef</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:FilePath">FilePath</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Diagrams-TwoD.html#t:DImage">DImage</a> n <a href="Diagrams-TwoD.html#t:External">External</a> <a href="src/Diagrams-TwoD-Image.html#uncheckedImageRef" class="link">Source</a></p><div class="doc"><p>Make an &quot;unchecked&quot; image reference; have to specify a
   width and height. Unless the aspect ratio of the external
   image is the w :: h, then the image will be distorted.</p></div></div><div class="top"><p class="src"><a name="v:raster" class="def">raster</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Diagrams-TwoD.html#t:DImage">DImage</a> n <a href="Diagrams-TwoD.html#t:Embedded">Embedded</a> <a href="src/Diagrams-TwoD-Image.html#raster" class="link">Source</a></p><div class="doc"><p>Create an image &quot;from scratch&quot; by specifying the pixel data</p></div></div><div class="top"><p class="src"><a name="v:rasterDia" class="def">rasterDia</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD.html#t:DImage">DImage</a> n <a href="Diagrams-TwoD.html#t:Embedded">Embedded</a>) b) =&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>) -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Image.html#rasterDia" class="link">Source</a></p><div class="doc"><p>Crate a diagram from raw raster data.</p></div></div><h1 id="g:18">Transformations</h1><h2 id="g:19">Rotation</h2><div class="top"><p class="src"><a name="v:rotation" class="def">rotation</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n =&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n <a href="src/Diagrams-TwoD-Transform.html#rotation" class="link">Source</a></p><div class="doc"><p>Create a transformation which performs a rotation about the local
   origin by the given angle.  See also <code><a href="Diagrams-TwoD.html#v:rotate">rotate</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:rotate" class="def">rotate</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n) =&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#rotate" class="link">Source</a></p><div class="doc"><p>Rotate about the local origin by the given angle. Positive angles
   correspond to counterclockwise rotation, negative to
   clockwise. The angle can be expressed using any of the <code><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso">Iso</a></code>s on
   <code><a href="Diagrams-Angle.html#t:Angle">Angle</a></code>.  For example, <code>rotate (1/4 @@ <code><a href="Diagrams-Angle.html#v:turn">turn</a></code>)</code>, <code>rotate
   (tau/4 @@ rad)</code>, and <code>rotate (90 @@ deg)</code> all
   represent the same transformation, namely, a counterclockwise
   rotation by a right angle.  To rotate about some point other than
   the local origin, see <code>rotateAbout</code>.</p><p>Note that writing <code>rotate (1/4)</code>, with no <code><a href="Diagrams-Angle.html#t:Angle">Angle</a></code> constructor,
   will yield an error since GHC cannot figure out which sort of
   angle you want to use.  In this common situation you can use
   <code><a href="Diagrams-TwoD.html#v:rotateBy">rotateBy</a></code>, which interprets its argument as a number of turns.</p></div></div><div class="top"><p class="src"><a name="v:rotateBy" class="def">rotateBy</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#rotateBy" class="link">Source</a></p><div class="doc"><p>A synonym for <code><a href="Diagrams-TwoD.html#v:rotate">rotate</a></code>, interpreting its argument in units of
 turns; it can be more convenient to write <code>rotateBy (1/4)</code> than
 <code><code><a href="Diagrams-TwoD.html#v:rotate">rotate</a></code> (1/4 @@ <code><a href="Diagrams-Angle.html#v:turn">turn</a></code>)</code>.</p></div></div><div class="top"><p class="src"><a name="v:rotated" class="def">rotated</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:SameSpace">SameSpace</a> a b, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> a, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> b) =&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso">Iso</a> a b a b <a href="src/Diagrams-TwoD-Transform.html#rotated" class="link">Source</a></p><div class="doc"><p>Use an <code><a href="Diagrams-Angle.html#t:Angle">Angle</a></code> to make an <code><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso">Iso</a></code> between an object
   rotated and unrotated. This us useful for performing actions
   <code><a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Iso.html#v:under">under</a></code> a rotation:</p><pre>under (rotated t) f = rotate (negated t) . f . rotate t
rotated t ## a      = rotate t a
a ^. rotated t      = rotate (-t) a
over (rotated t) f  = rotate t . f . rotate (negated t)
</pre></div></div><div class="top"><p class="src"><a name="v:rotationAround" class="def">rotationAround</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n =&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n <a href="src/Diagrams-TwoD-Transform.html#rotationAround" class="link">Source</a></p><div class="doc"><p><code>rotationAbout p</code> is a rotation about the point <code>p</code> (instead of
   around the local origin).</p></div></div><div class="top"><p class="src"><a name="v:rotateAround" class="def">rotateAround</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n) =&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n -&gt; <a href="Diagrams-Angle.html#t:Angle">Angle</a> n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#rotateAround" class="link">Source</a></p><div class="doc"><p><code>rotateAbout p</code> is like <code><a href="Diagrams-TwoD.html#v:rotate">rotate</a></code>, except it rotates around the
   point <code>p</code> instead of around the local origin.</p></div></div><div class="top"><p class="src"><a name="v:rotationTo" class="def">rotationTo</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n <a href="src/Diagrams-TwoD-Transform.html#rotationTo" class="link">Source</a></p><div class="doc"><p>The rotation that aligns the x-axis with the given direction.</p></div></div><div class="top"><p class="src"><a name="v:rotateTo" class="def">rotateTo</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#rotateTo" class="link">Source</a></p><div class="doc"><p>Rotate around the local origin such that the x axis aligns with the
   given direction.</p></div></div><h2 id="g:20">Scaling</h2><div class="top"><p class="src"><a name="v:scalingX" class="def">scalingX</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n <a href="src/Diagrams-TwoD-Transform.html#scalingX" class="link">Source</a></p><div class="doc"><p>Construct a transformation which scales by the given factor in
   the x (horizontal) direction.</p></div></div><div class="top"><p class="src"><a name="v:scaleX" class="def">scaleX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#scaleX" class="link">Source</a></p><div class="doc"><p>Scale a diagram by the given factor in the x (horizontal)
   direction.  To scale uniformly, use <code><a href="Diagrams-TwoD.html#v:scale">scale</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:scalingY" class="def">scalingY</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n <a href="src/Diagrams-TwoD-Transform.html#scalingY" class="link">Source</a></p><div class="doc"><p>Construct a transformation which scales by the given factor in
   the y (vertical) direction.</p></div></div><div class="top"><p class="src"><a name="v:scaleY" class="def">scaleY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#scaleY" class="link">Source</a></p><div class="doc"><p>Scale a diagram by the given factor in the y (vertical)
   direction.  To scale uniformly, use <code><a href="Diagrams-TwoD.html#v:scale">scale</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:scaling" class="def">scaling</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n</p><div class="doc"><p>Create a uniform scaling transformation.</p></div></div><div class="top"><p class="src"><a name="v:scale" class="def">scale</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> a) =&gt; n -&gt; a -&gt; a</p><div class="doc"><p>Scale uniformly in every dimension by the given scalar.</p></div></div><div class="top"><p class="src"><a name="v:scaleToX" class="def">scaleToX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#scaleToX" class="link">Source</a></p><div class="doc"><p><code>scaleToX w</code> scales a diagram in the x (horizontal) direction by
   whatever factor required to make its width <code>w</code>.  <code>scaleToX</code>
   should not be applied to diagrams with a width of 0, such as
   <code>vrule</code>.</p></div></div><div class="top"><p class="src"><a name="v:scaleToY" class="def">scaleToY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#scaleToY" class="link">Source</a></p><div class="doc"><p><code>scaleToY h</code> scales a diagram in the y (vertical) direction by
   whatever factor required to make its height <code>h</code>.  <code>scaleToY</code>
   should not be applied to diagrams with a height of 0, such as
   <code>hrule</code>.</p></div></div><div class="top"><p class="src"><a name="v:scaleUToX" class="def">scaleUToX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#scaleUToX" class="link">Source</a></p><div class="doc"><p><code>scaleUToX w</code> scales a diagram <em>uniformly</em> by whatever factor
   required to make its width <code>w</code>.  <code>scaleUToX</code> should not be
   applied to diagrams with a width of 0, such as <code>vrule</code>.</p></div></div><div class="top"><p class="src"><a name="v:scaleUToY" class="def">scaleUToY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#scaleUToY" class="link">Source</a></p><div class="doc"><p><code>scaleUToY h</code> scales a diagram <em>uniformly</em> by whatever factor
   required to make its height <code>h</code>.  <code>scaleUToY</code> should not be applied
   to diagrams with a height of 0, such as <code>hrule</code>.</p></div></div><h2 id="g:21">Translation</h2><div class="top"><p class="src"><a name="v:translationX" class="def">translationX</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n <a href="src/Diagrams-TwoD-Transform.html#translationX" class="link">Source</a></p><div class="doc"><p>Construct a transformation which translates by the given distance
   in the x (horizontal) direction.</p></div></div><div class="top"><p class="src"><a name="v:translateX" class="def">translateX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#translateX" class="link">Source</a></p><div class="doc"><p>Translate a diagram by the given distance in the x (horizontal)
   direction.</p></div></div><div class="top"><p class="src"><a name="v:translationY" class="def">translationY</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n <a href="src/Diagrams-TwoD-Transform.html#translationY" class="link">Source</a></p><div class="doc"><p>Construct a transformation which translates by the given distance
   in the y (vertical) direction.</p></div></div><div class="top"><p class="src"><a name="v:translateY" class="def">translateY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#translateY" class="link">Source</a></p><div class="doc"><p>Translate a diagram by the given distance in the y (vertical)
   direction.</p></div></div><div class="top"><p class="src"><a name="v:translation" class="def">translation</a> :: v n -&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n</p><div class="doc"><p>Create a translation.</p></div></div><div class="top"><p class="src"><a name="v:translate" class="def">translate</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> t), <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:Vn">Vn</a> t -&gt; t -&gt; t</p><div class="doc"><p>Translate by a vector.</p></div></div><h2 id="g:22">Reflection</h2><div class="top"><p class="src"><a name="v:reflectionX" class="def">reflectionX</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n <a href="src/Diagrams-TwoD-Transform.html#reflectionX" class="link">Source</a></p><div class="doc"><p>Construct a transformation which flips a diagram from left to
   right, i.e. sends the point (x,y) to (-x,y).</p></div></div><div class="top"><p class="src"><a name="v:reflectX" class="def">reflectX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#reflectX" class="link">Source</a></p><div class="doc"><p>Flip a diagram from left to right, i.e. send the point (x,y) to
   (-x,y).</p></div></div><div class="top"><p class="src"><a name="v:reflectionY" class="def">reflectionY</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Vector.html#t:Additive">Additive</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> v n <a href="src/Diagrams-TwoD-Transform.html#reflectionY" class="link">Source</a></p><div class="doc"><p>Construct a transformation which flips a diagram from top to
   bottom, i.e. sends the point (x,y) to (x,-y).</p></div></div><div class="top"><p class="src"><a name="v:reflectY" class="def">reflectY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n t, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#reflectY" class="link">Source</a></p><div class="doc"><p>Flip a diagram from top to bottom, i.e. send the point (x,y) to
   (x,-y).</p></div></div><div class="top"><p class="src"><a name="v:reflectionAbout" class="def">reflectionAbout</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n <a href="src/Diagrams-TwoD-Transform.html#reflectionAbout" class="link">Source</a></p><div class="doc"><p><code>reflectionAbout p d</code> is a reflection in the line determined by
   the point <code>p</code> and direction <code>d</code>.</p></div></div><div class="top"><p class="src"><a name="v:reflectAbout" class="def">reflectAbout</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; <a href="Diagrams-TwoD.html#t:P2">P2</a> n -&gt; <a href="Diagrams-Direction.html#t:Direction">Direction</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#reflectAbout" class="link">Source</a></p><div class="doc"><p><code>reflectAbout p d</code> reflects a diagram in the line determined by
   the point <code>p</code> and direction <code>d</code>.</p></div></div><h2 id="g:23">Shears</h2><div class="top"><p class="src"><a name="v:shearingX" class="def">shearingX</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n <a href="src/Diagrams-TwoD-Transform.html#shearingX" class="link">Source</a></p><div class="doc"><p><code>shearingX d</code> is the linear transformation which is the identity on
   y coordinates and sends <code>(0,1)</code> to <code>(d,1)</code>.</p></div></div><div class="top"><p class="src"><a name="v:shearX" class="def">shearX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#shearX" class="link">Source</a></p><div class="doc"><p><code>shearX d</code> performs a shear in the x-direction which sends
   <code>(0,1)</code> to <code>(d,1)</code>.</p></div></div><div class="top"><p class="src"><a name="v:shearingY" class="def">shearingY</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; n -&gt; <a href="Diagrams-TwoD.html#t:T2">T2</a> n <a href="src/Diagrams-TwoD-Transform.html#shearingY" class="link">Source</a></p><div class="doc"><p><code>shearingY d</code> is the linear transformation which is the identity on
   x coordinates and sends <code>(1,0)</code> to <code>(1,d)</code>.</p></div></div><div class="top"><p class="src"><a name="v:shearY" class="def">shearY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t) =&gt; n -&gt; t -&gt; t <a href="src/Diagrams-TwoD-Transform.html#shearY" class="link">Source</a></p><div class="doc"><p><code>shearY d</code> performs a shear in the y-direction which sends
   <code>(1,0)</code> to <code>(1,d)</code>.</p></div></div><h1 id="g:24">Deformations - non-affine transforms</h1><div class="top"><p class="src"><a name="v:parallelX0" class="def">parallelX0</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n <a href="src/Diagrams-TwoD-Deform.html#parallelX0" class="link">Source</a></p><div class="doc"><p>The parallel projection onto the plane x=0</p></div></div><div class="top"><p class="src"><a name="v:perspectiveX1" class="def">perspectiveX1</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n <a href="src/Diagrams-TwoD-Deform.html#perspectiveX1" class="link">Source</a></p><div class="doc"><p>The perspective division onto the plane x=1 along lines going
 through the origin.</p></div></div><div class="top"><p class="src"><a name="v:parallelY0" class="def">parallelY0</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n <a href="src/Diagrams-TwoD-Deform.html#parallelY0" class="link">Source</a></p><div class="doc"><p>The parallel projection onto the plane y=0</p></div></div><div class="top"><p class="src"><a name="v:perspectiveY1" class="def">perspectiveY1</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n <a href="src/Diagrams-TwoD-Deform.html#perspectiveY1" class="link">Source</a></p><div class="doc"><p>The perspective division onto the plane y=1 along lines going
 through the origin.</p></div></div><div class="top"><p class="src"><a name="v:facingX" class="def">facingX</a> :: (<a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n <a href="src/Diagrams-TwoD-Deform.html#facingX" class="link">Source</a></p><div class="doc"><p>The viewing transform for a viewer facing along the positive X
 axis.  X co&#246;rdinates stay fixed, while Y co&#246;rdinates are compressed
 with increasing distance.  <code>asDeformation (translation unitX) &lt;&gt;
 parallelX0 &lt;&gt; frustrumX = perspectiveX1</code></p></div></div><div class="top"><p class="src"><a name="v:facingY" class="def">facingY</a> :: (<a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Functor.html#t:Functor">Functor</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n) =&gt; <a href="Diagrams-Deform.html#t:Deformation">Deformation</a> v v n <a href="src/Diagrams-TwoD-Deform.html#facingY" class="link">Source</a></p></div><h1 id="g:25">Combinators</h1><h2 id="g:26">Combining multiple diagrams</h2><div class="top"><p class="src"><a name="v:-61--61--61-" class="def">(===)</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> a) =&gt; a -&gt; a -&gt; a <span class="fixity">infixl 6</span><span class="rightedge"></span> <a href="src/Diagrams-TwoD-Combinators.html#%3D%3D%3D" class="link">Source</a></p><div class="doc"><p>Place two diagrams (or other objects) vertically adjacent to one
   another, with the first diagram above the second.  Since Haskell
   ignores whitespace in expressions, one can thus write</p><pre>      c
     ===
      d
  </pre><p>to place <code>c</code> above <code>d</code>.  The local origin of the resulting
   combined diagram is the same as the local origin of the first.
   <code>(===)</code> is associative and has <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#v:mempty">mempty</a></code> as an identity.  See the
   documentation of <code><a href="Diagrams-Combinators.html#v:beside">beside</a></code> for more information.</p></div></div><div class="top"><p class="src"><a name="v:-124--124--124-" class="def">(|||)</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> a) =&gt; a -&gt; a -&gt; a <span class="fixity">infixl 6</span><span class="rightedge"></span> <a href="src/Diagrams-TwoD-Combinators.html#%7C%7C%7C" class="link">Source</a></p><div class="doc"><p>Place two diagrams (or other juxtaposable objects) horizontally
   adjacent to one another, with the first diagram to the left of
   the second.  The local origin of the resulting combined diagram
   is the same as the local origin of the first.  <code>(|||)</code> is
   associative and has <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#v:mempty">mempty</a></code> as an identity.  See the
   documentation of <code><a href="Diagrams-Combinators.html#v:beside">beside</a></code> for more information.</p></div></div><div class="top"><p class="src"><a name="v:hcat" class="def">hcat</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; [a] -&gt; a <a href="src/Diagrams-TwoD-Combinators.html#hcat" class="link">Source</a></p><div class="doc"><p>Lay out a list of juxtaposable objects in a row from left to right,
   so that their local origins lie along a single horizontal line,
   with successive envelopes tangent to one another.</p><ul><li>For more control over the spacing, see <code><a href="Diagrams-TwoD.html#v:hcat-39-">hcat'</a></code>.</li><li>To align the diagrams vertically (or otherwise), use alignment
     combinators (such as <code><a href="Diagrams-TwoD.html#v:alignT">alignT</a></code> or <code><a href="Diagrams-TwoD.html#v:alignB">alignB</a></code>) from
     <a href="Diagrams-TwoD-Align.html">Diagrams.TwoD.Align</a> before applying <code><a href="Diagrams-TwoD.html#v:hcat">hcat</a></code>.</li><li>For non-axis-aligned layout, see <code><a href="Diagrams-Combinators.html#v:cat">cat</a></code>.</li></ul></div></div><div class="top"><p class="src"><a name="v:hcat-39-" class="def">hcat'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; <a href="Diagrams-Combinators.html#t:CatOpts">CatOpts</a> n -&gt; [a] -&gt; a <a href="src/Diagrams-TwoD-Combinators.html#hcat%27" class="link">Source</a></p><div class="doc"><p>A variant of <code><a href="Diagrams-TwoD.html#v:hcat">hcat</a></code> taking an extra <code><a href="Diagrams-Combinators.html#t:CatOpts">CatOpts</a></code> record to control
   the spacing.  See the <code><a href="Diagrams-Combinators.html#v:cat-39-">cat'</a></code> documentation for a description of
   the possibilities. For the common case of setting just a
   separation amount, see <code><a href="Diagrams-TwoD.html#v:hsep">hsep</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:hsep" class="def">hsep</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; n -&gt; [a] -&gt; a <a href="src/Diagrams-TwoD-Combinators.html#hsep" class="link">Source</a></p><div class="doc"><p>A convenient synonym for horizontal concatenation with
   separation: <code>hsep s === hcat' (with &amp; sep .~ s)</code>.</p></div></div><div class="top"><p class="src"><a name="v:vcat" class="def">vcat</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; [a] -&gt; a <a href="src/Diagrams-TwoD-Combinators.html#vcat" class="link">Source</a></p><div class="doc"><p>Lay out a list of juxtaposable objects in a column from top to
   bottom, so that their local origins lie along a single vertical
   line, with successive envelopes tangent to one another.</p><ul><li>For more control over the spacing, see <code><a href="Diagrams-TwoD.html#v:vcat-39-">vcat'</a></code>.</li><li>To align the diagrams horizontally (or otherwise), use alignment
     combinators (such as <code><a href="Diagrams-TwoD.html#v:alignL">alignL</a></code> or <code><a href="Diagrams-TwoD.html#v:alignR">alignR</a></code>) from
     <a href="Diagrams-TwoD-Align.html">Diagrams.TwoD.Align</a> before applying <code><a href="Diagrams-TwoD.html#v:vcat">vcat</a></code>.</li><li>For non-axis-aligned layout, see <code><a href="Diagrams-Combinators.html#v:cat">cat</a></code>.</li></ul></div></div><div class="top"><p class="src"><a name="v:vcat-39-" class="def">vcat'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; <a href="Diagrams-Combinators.html#t:CatOpts">CatOpts</a> n -&gt; [a] -&gt; a <a href="src/Diagrams-TwoD-Combinators.html#vcat%27" class="link">Source</a></p><div class="doc"><p>A variant of <code><a href="Diagrams-TwoD.html#v:vcat">vcat</a></code> taking an extra <code><a href="Diagrams-Combinators.html#t:CatOpts">CatOpts</a></code> record to control
   the spacing.  See the <code><a href="Diagrams-Combinators.html#v:cat-39-">cat'</a></code> documentation for a description of
   the possibilities.  For the common case of setting just a
   separation amount, see <code><a href="Diagrams-TwoD.html#v:vsep">vsep</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:vsep" class="def">vsep</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Juxtapose.html#t:Juxtaposable">Juxtaposable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> a) =&gt; n -&gt; [a] -&gt; a <a href="src/Diagrams-TwoD-Combinators.html#vsep" class="link">Source</a></p><div class="doc"><p>A convenient synonym for vertical concatenation with
   separation: <code>vsep s === vcat' (with &amp; sep .~ s)</code>.</p></div></div><h2 id="g:27">Spacing and envelopes</h2><div class="top"><p class="src"><a name="v:strutX" class="def">strutX</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Metric.html#t:Metric">Metric</a> v, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m <a href="src/Diagrams-TwoD-Combinators.html#strutX" class="link">Source</a></p><div class="doc"><p><code>strutX w</code> is an empty diagram with width <code>w</code>, height 0, and a
   centered local origin.  Note that <code>strutX (-w)</code> behaves the same as
   <code>strutX w</code>.</p></div></div><div class="top"><p class="src"><a name="v:strutY" class="def">strutY</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Metric.html#t:Metric">Metric</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m <a href="src/Diagrams-TwoD-Combinators.html#strutY" class="link">Source</a></p><div class="doc"><p><code>strutY h</code> is an empty diagram with height <code>h</code>, width 0, and a
   centered local origin. Note that <code>strutY (-h)</code> behaves the same as
   <code>strutY h</code>.</p></div></div><div class="top"><p class="src"><a name="v:padX" class="def">padX</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Metric.html#t:Metric">Metric</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m <a href="src/Diagrams-TwoD-Combinators.html#padX" class="link">Source</a></p><div class="doc"><p><code>padX s</code> &quot;pads&quot; a diagram in the x-direction, expanding its
   envelope horizontally by a factor of <code>s</code> (factors between 0 and 1
   can be used to shrink the envelope).  Note that the envelope will
   expand with respect to the local origin, so if the origin is not
   centered horizontally the padding may appear &quot;uneven&quot;.  If this
   is not desired, the origin can be centered (using <code><a href="Diagrams-TwoD.html#v:centerX">centerX</a></code>)
   before applying <code>padX</code>.</p></div></div><div class="top"><p class="src"><a name="v:padY" class="def">padY</a> :: (<a href="file:///usr/share/doc/libghc-linear-doc/html/Linear-Metric.html#t:Metric">Metric</a> v, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b v n m <a href="src/Diagrams-TwoD-Combinators.html#padY" class="link">Source</a></p><div class="doc"><p><code>padY s</code> &quot;pads&quot; a diagram in the y-direction, expanding its
   envelope vertically by a factor of <code>s</code> (factors between
   0 and 1 can be used to shrink the envelope).  Note that
   the envelope will expand with respect to the local origin,
   so if the origin is not centered vertically the padding may appear
   &quot;uneven&quot;.  If this is not desired, the origin can be centered
   (using <code><a href="Diagrams-TwoD.html#v:centerY">centerY</a></code>) before applying <code>padY</code>.</p></div></div><div class="top"><p class="src"><a name="v:extrudeLeft" class="def">extrudeLeft</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m <a href="src/Diagrams-TwoD-Combinators.html#extrudeLeft" class="link">Source</a></p><div class="doc"><p><code>extrudeLeft s</code> &quot;extrudes&quot; a diagram in the negative x-direction,
   offsetting its envelope by the provided distance. When <code> s &lt; 0 </code>,
   the envelope is inset instead.</p><p>See the documentation for <code><a href="Diagrams-Combinators.html#v:extrudeEnvelope">extrudeEnvelope</a></code> for more information.</p></div></div><div class="top"><p class="src"><a name="v:extrudeRight" class="def">extrudeRight</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m <a href="src/Diagrams-TwoD-Combinators.html#extrudeRight" class="link">Source</a></p><div class="doc"><p><code>extrudeRight s</code> &quot;extrudes&quot; a diagram in the positive x-direction,
   offsetting its envelope by the provided distance. When <code> s &lt; 0 </code>,
   the envelope is inset instead.</p><p>See the documentation for <code><a href="Diagrams-Combinators.html#v:extrudeEnvelope">extrudeEnvelope</a></code> for more information.</p></div></div><div class="top"><p class="src"><a name="v:extrudeBottom" class="def">extrudeBottom</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m <a href="src/Diagrams-TwoD-Combinators.html#extrudeBottom" class="link">Source</a></p><div class="doc"><p><code>extrudeBottom s</code> &quot;extrudes&quot; a diagram in the negative y-direction,
   offsetting its envelope by the provided distance. When <code> s &lt; 0 </code>,
   the envelope is inset instead.</p><p>See the documentation for <code><a href="Diagrams-Combinators.html#v:extrudeEnvelope">extrudeEnvelope</a></code> for more information.</p></div></div><div class="top"><p class="src"><a name="v:extrudeTop" class="def">extrudeTop</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m <a href="src/Diagrams-TwoD-Combinators.html#extrudeTop" class="link">Source</a></p><div class="doc"><p><code>extrudeTop s</code> &quot;extrudes&quot; a diagram in the positive y-direction,
   offsetting its envelope by the provided distance. When <code> s &lt; 0 </code>,
   the envelope is inset instead.</p><p>See the documentation for <code><a href="Diagrams-Combinators.html#v:extrudeEnvelope">extrudeEnvelope</a></code> for more information.</p></div></div><div class="top"><p class="src"><a name="v:rectEnvelope" class="def">rectEnvelope</a> :: <span class="keyword">forall</span> b n m. (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m <a href="src/Diagrams-TwoD-Combinators.html#rectEnvelope" class="link">Source</a></p><div class="doc"><p><code>rectEnvelope p v</code> sets the envelope of a diagram to a rectangle whose
   lower-left corner is at <code>p</code> and whose upper-right corner is at <code>p
   .+^ v</code>.  Useful for selecting the rectangular portion of a
   diagram which should actually be &quot;viewed&quot; in the final render,
   if you don't want to see the entire diagram.</p></div></div><h2 id="g:28">Background</h2><div class="top"><p class="src"><a name="v:boundingRect" class="def">boundingRect</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:SameSpace">SameSpace</a> a t, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> t, <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> t, <a href="Diagrams-TrailLike.html#t:TrailLike">TrailLike</a> t, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Monoid">Monoid</a> t, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> a) =&gt; a -&gt; t <a href="src/Diagrams-TwoD-Combinators.html#boundingRect" class="link">Source</a></p><div class="doc"><p>Construct a bounding rectangle for an enveloped object, that is,
   the smallest axis-aligned rectangle which encloses the object.</p></div></div><div class="top"><p class="src"><a name="v:bg" class="def">bg</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Combinators.html#bg" class="link">Source</a></p><div class="doc"><p>&quot;Set the background color&quot; of a diagram.  That is, place a
   diagram atop a bounding rectangle of the given color.</p></div></div><div class="top"><p class="src"><a name="v:bgFrame" class="def">bgFrame</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; n -&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Combinators.html#bgFrame" class="link">Source</a></p><div class="doc"><p>Similar to <code><a href="Diagrams-TwoD.html#v:bg">bg</a></code> but makes the colored background rectangle larger than
   the diagram. The first parameter is used to set how far the background
   extends beyond the diagram.</p></div></div><h1 id="g:29">Alignment</h1><div class="top"><p class="src"><a name="v:alignL" class="def">alignL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#alignL" class="link">Source</a></p><div class="doc"><p>Align along the left edge, i.e. translate the diagram in a
   horizontal direction so that the local origin is on the left edge
   of the envelope.</p></div></div><div class="top"><p class="src"><a name="v:alignR" class="def">alignR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#alignR" class="link">Source</a></p><div class="doc"><p>Align along the right edge.</p></div></div><div class="top"><p class="src"><a name="v:alignT" class="def">alignT</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#alignT" class="link">Source</a></p><div class="doc"><p>Align along the top edge.</p></div></div><div class="top"><p class="src"><a name="v:alignB" class="def">alignB</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#alignB" class="link">Source</a></p><div class="doc"><p>Align along the bottom edge.</p></div></div><div class="top"><p class="src"><a name="v:alignTL" class="def">alignTL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#alignTL" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:alignTR" class="def">alignTR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#alignTR" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:alignBL" class="def">alignBL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#alignBL" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:alignBR" class="def">alignBR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#alignBR" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:alignX" class="def">alignX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#alignX" class="link">Source</a></p><div class="doc"><p><code>alignX</code> and <code>snugX</code> move the local origin horizontally as follows:</p><ul><li><code>alignX (-1)</code> moves the local origin to the left edge of the boundary;</li><li><code>align 1</code> moves the local origin to the right edge;</li><li>any other argument interpolates linearly between these.  For
     example, <code>alignX 0</code> centers, <code>alignX 2</code> moves the origin one
     &quot;radius&quot; to the right of the right edge, and so on.</li><li><code>snugX</code> works the same way.</li></ul></div></div><div class="top"><p class="src"><a name="v:alignY" class="def">alignY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#alignY" class="link">Source</a></p><div class="doc"><p>Like <code><a href="Diagrams-TwoD.html#v:alignX">alignX</a></code>, but moving the local origin vertically, with an
   argument of <code>1</code> corresponding to the top edge and <code>(-1)</code> corresponding
   to the bottom edge.</p></div></div><div class="top"><p class="src"><a name="v:centerX" class="def">centerX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#centerX" class="link">Source</a></p><div class="doc"><p>Center the local origin along the X-axis.</p></div></div><div class="top"><p class="src"><a name="v:centerY" class="def">centerY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#centerY" class="link">Source</a></p><div class="doc"><p>Center the local origin along the Y-axis.</p></div></div><div class="top"><p class="src"><a name="v:centerXY" class="def">centerXY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#centerXY" class="link">Source</a></p><div class="doc"><p>Center along both the X- and Y-axes.</p></div></div><h1 id="g:30">Snugging</h1><div class="top"><p class="src"><a name="v:snugL" class="def">snugL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugL" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snugR" class="def">snugR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugR" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snugT" class="def">snugT</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugT" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snugB" class="def">snugB</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugB" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snugTL" class="def">snugTL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugTL" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snugTR" class="def">snugTR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugTR" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snugBL" class="def">snugBL</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugBL" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snugBR" class="def">snugBR</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugBR" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snugX" class="def">snugX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugX" class="link">Source</a></p><div class="doc"><p>See the documentation for <code><a href="Diagrams-TwoD.html#v:alignX">alignX</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:snugY" class="def">snugY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugY" class="link">Source</a></p><div class="doc"><p>See the documentation for <code><a href="Diagrams-TwoD.html#v:alignY">alignY</a></code>.</p></div></div><div class="top"><p class="src"><a name="v:snugCenterX" class="def">snugCenterX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugCenterX" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snugCenterY" class="def">snugCenterY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugCenterY" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:snugCenterXY" class="def">snugCenterXY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n, <a href="Diagrams-Align.html#t:Alignable">Alignable</a> a, <a href="Diagrams-Trace.html#t:Traced">Traced</a> a, <a href="Diagrams-Transform.html#t:HasOrigin">HasOrigin</a> a) =&gt; a -&gt; a <a href="src/Diagrams-TwoD-Align.html#snugCenterXY" class="link">Source</a></p></div><h1 id="g:31">Size</h1><h2 id="g:32">Computing size</h2><div class="top"><p class="src"><a name="v:width" class="def">width</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> a) =&gt; a -&gt; n <a href="src/Diagrams-TwoD-Size.html#width" class="link">Source</a></p><div class="doc"><p>Compute the width of an enveloped object.</p><p>Note this is just <code>diameter unitX</code>.</p></div></div><div class="top"><p class="src"><a name="v:height" class="def">height</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> a) =&gt; a -&gt; n <a href="src/Diagrams-TwoD-Size.html#height" class="link">Source</a></p><div class="doc"><p>Compute the height of an enveloped object.</p></div></div><div class="top"><p class="src"><a name="v:extentX" class="def">extentX</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R1">R1</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> a) =&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (n, n) <a href="src/Diagrams-TwoD-Size.html#extentX" class="link">Source</a></p><div class="doc"><p>Compute the absolute x-coordinate range of an enveloped object in
   the form <code>(lo,hi)</code>. Return <code>Nothing</code> for objects with an empty
   envelope.</p><p>Note this is just <code>extent unitX</code>.</p></div></div><div class="top"><p class="src"><a name="v:extentY" class="def">extentY</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> v n a, <a href="Diagrams-TwoD.html#t:R2">R2</a> v, <a href="Diagrams-Envelope.html#t:Enveloped">Enveloped</a> a) =&gt; a -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> (n, n) <a href="src/Diagrams-TwoD-Size.html#extentY" class="link">Source</a></p><div class="doc"><p>Compute the absolute y-coordinate range of an enveloped object in
   the form <code>(lo,hi)</code>. Return <code>Nothing</code> for objects with an empty
   envelope.</p></div></div><h2 id="g:33">Specifying size</h2><div class="top"><p class="src"><a name="v:mkSizeSpec2D" class="def">mkSizeSpec2D</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Maybe.html#t:Maybe">Maybe</a> n -&gt; <a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="src/Diagrams-TwoD-Size.html#mkSizeSpec2D" class="link">Source</a></p><div class="doc"><p>Make a <code><a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a></code> from possibly-specified width and height.</p></div></div><div class="top"><p class="src"><a name="v:mkWidth" class="def">mkWidth</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; n -&gt; <a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="src/Diagrams-TwoD-Size.html#mkWidth" class="link">Source</a></p><div class="doc"><p>Make a <code><a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a></code> with only width defined.</p></div></div><div class="top"><p class="src"><a name="v:mkHeight" class="def">mkHeight</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; n -&gt; <a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="src/Diagrams-TwoD-Size.html#mkHeight" class="link">Source</a></p><div class="doc"><p>Make a <code><a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a></code> with only height defined.</p></div></div><div class="top"><p class="src"><a name="v:dims2D" class="def">dims2D</a> :: n -&gt; n -&gt; <a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="src/Diagrams-TwoD-Size.html#dims2D" class="link">Source</a></p><div class="doc"><p>Make a <code><a href="Diagrams-Size.html#t:SizeSpec">SizeSpec</a></code> from a width and height.</p></div></div><h1 id="g:34">Textures</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Texture" class="def">Texture</a> n <a href="src/Diagrams-TwoD-Attributes.html#Texture" class="link">Source</a></p><div class="doc"><p>A Texture is either a color <code><a href="Diagrams-TwoD.html#v:SC">SC</a></code>, linear gradient <code><a href="Diagrams-TwoD.html#v:LG">LG</a></code>, or radial gradient <code><a href="Diagrams-TwoD.html#v:RG">RG</a></code>.
   An object can have only one texture which is determined by the <code><a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Last">Last</a></code>
   semigroup structure.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:SC" class="def">SC</a> <a href="Diagrams-Attributes.html#t:SomeColor">SomeColor</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:LG" class="def">LG</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:RG" class="def">RG</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n)</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Texture" class="caption collapser" onclick="toggleSection('i:Texture')">Instances</p><div id="section.i:Texture" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n =&gt; <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n)</span> <a href="src/Diagrams-TwoD-Attributes.html#line-204" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) = <a href="Diagrams-TwoD.html#t:V2">V2</a></span> <a href="src/Diagrams-TwoD-Attributes.html#line-195" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) = n</span> <a href="src/Diagrams-TwoD-Attributes.html#line-196" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:solid" class="def">solid</a> :: <a href="Diagrams-Attributes.html#t:Color">Color</a> a =&gt; a -&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n <a href="src/Diagrams-TwoD-Attributes.html#solid" class="link">Source</a></p><div class="doc"><p>Convert a solid colour into a texture.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:SpreadMethod" class="def">SpreadMethod</a> <a href="src/Diagrams-TwoD-Attributes.html#SpreadMethod" class="link">Source</a></p><div class="doc"><p>The <code><a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a></code> determines what happens before <code><a href="Diagrams-TwoD.html#v:lGradStart">lGradStart</a></code> and after
   <code><a href="Diagrams-TwoD.html#v:lGradEnd">lGradEnd</a></code>. <code><a href="Diagrams-TwoD.html#v:GradPad">GradPad</a></code> fills the space before the start of the gradient
   with the color of the first stop and the color after end of the gradient
   with the color of the last stop. <code><a href="Diagrams-TwoD.html#v:GradRepeat">GradRepeat</a></code> restarts the gradient and
   <code><a href="Diagrams-TwoD.html#v:GradReflect">GradReflect</a></code> restarts the gradient with the stops in reverse order.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:GradPad" class="def">GradPad</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:GradReflect" class="def">GradReflect</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:GradRepeat" class="def">GradRepeat</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:GradientStop" class="def">GradientStop</a> d <a href="src/Diagrams-TwoD-Attributes.html#GradientStop" class="link">Source</a></p><div class="doc"><p>A gradient stop contains a color and fraction (usually between 0 and 1)</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:GradientStop" class="def">GradientStop</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_stopColor" class="def">_stopColor</a> :: <a href="Diagrams-Attributes.html#t:SomeColor">SomeColor</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_stopFraction" class="def">_stopFraction</a> :: d</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><a name="v:_FillTexture" class="def">_FillTexture</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso-39-">Iso'</a> (<a href="Diagrams-TwoD-Attributes.html#t:FillTexture">FillTexture</a> n) (<a href="file:///usr/share/doc/libghc-monoid-extras-doc/html/Data-Monoid-Recommend.html#t:Recommend">Recommend</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n)) <a href="src/Diagrams-TwoD-Attributes.html#_FillTexture" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:fillTexture" class="def">fillTexture</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Attributes.html#fillTexture" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:_fillTexture" class="def">_fillTexture</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) <a href="src/Diagrams-TwoD-Attributes.html#_fillTexture" class="link">Source</a></p><div class="doc"><p>Commit a fill texture in a style. This is <em>not</em> a valid setter
   because it doesn't abide the functor law (see <code><a href="Diagrams-Attributes.html#v:committed">committed</a></code>).</p></div></div><div class="top"><p class="src"><a name="v:getFillTexture" class="def">getFillTexture</a> :: <a href="Diagrams-TwoD-Attributes.html#t:FillTexture">FillTexture</a> n -&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n <a href="src/Diagrams-TwoD-Attributes.html#getFillTexture" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:_LineTexture" class="def">_LineTexture</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Iso">Iso</a> (<a href="Diagrams-TwoD-Attributes.html#t:LineTexture">LineTexture</a> n) (<a href="Diagrams-TwoD-Attributes.html#t:LineTexture">LineTexture</a> n') (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n') <a href="src/Diagrams-TwoD-Attributes.html#_LineTexture" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:lineTexture" class="def">lineTexture</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Attributes.html#lineTexture" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:_lineTexture" class="def">_lineTexture</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n) =&gt; <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:Style">Style</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) <a href="src/Diagrams-TwoD-Attributes.html#_lineTexture" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:lineTextureA" class="def">lineTextureA</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="Diagrams-TwoD-Attributes.html#t:LineTexture">LineTexture</a> n -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Attributes.html#lineTextureA" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:getLineTexture" class="def">getLineTexture</a> :: <a href="Diagrams-TwoD-Attributes.html#t:LineTexture">LineTexture</a> n -&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n <a href="src/Diagrams-TwoD-Attributes.html#getLineTexture" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:stopFraction" class="def">stopFraction</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n) n <a href="src/Diagrams-TwoD-Attributes.html#stopFraction" class="link">Source</a></p><div class="doc"><p>The fraction for stop.</p></div></div><div class="top"><p class="src"><a name="v:stopColor" class="def">stopColor</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n) <a href="Diagrams-Attributes.html#t:SomeColor">SomeColor</a> <a href="src/Diagrams-TwoD-Attributes.html#stopColor" class="link">Source</a></p><div class="doc"><p>A color for the stop.</p></div></div><div class="top"><p class="src"><a name="v:mkStops" class="def">mkStops</a> :: [(<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>, d, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>)] -&gt; [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> d] <a href="src/Diagrams-TwoD-Attributes.html#mkStops" class="link">Source</a></p><div class="doc"><p>A convenient function for making gradient stops from a list of triples.
   (An opaque color, a stop fraction, an opacity).</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:LGradient" class="def">LGradient</a> n <a href="src/Diagrams-TwoD-Attributes.html#LGradient" class="link">Source</a></p><div class="doc"><p>Linear Gradient</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:LGradient" class="def">LGradient</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_lGradStops" class="def">_lGradStops</a> :: [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_lGradStart" class="def">_lGradStart</a> :: <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_lGradEnd" class="def">_lGradEnd</a> :: <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_lGradTrans" class="def">_lGradTrans</a> :: <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_lGradSpreadMethod" class="def">_lGradSpreadMethod</a> :: <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:LGradient" class="caption collapser" onclick="toggleSection('i:LGradient')">Instances</p><div id="section.i:LGradient" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n =&gt; <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n)</span> <a href="src/Diagrams-TwoD-Attributes.html#line-122" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) = <a href="Diagrams-TwoD.html#t:V2">V2</a></span> <a href="src/Diagrams-TwoD-Attributes.html#line-117" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) = n</span> <a href="src/Diagrams-TwoD-Attributes.html#line-118" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:_LG" class="def">_LG</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism-39-">Prism'</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) <a href="src/Diagrams-TwoD-Attributes.html#_LG" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:lGradStops" class="def">lGradStops</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n] <a href="src/Diagrams-TwoD-Attributes.html#lGradStops" class="link">Source</a></p><div class="doc"><p>A list of stops (colors and fractions).</p></div></div><div class="top"><p class="src"><a name="v:lGradTrans" class="def">lGradTrans</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) (<a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Attributes.html#lGradTrans" class="link">Source</a></p><div class="doc"><p>A transformation to be applied to the gradient. Usually this field will
   start as the identity transform and capture the transforms that are applied
   to the gradient.</p></div></div><div class="top"><p class="src"><a name="v:lGradStart" class="def">lGradStart</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) (<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Attributes.html#lGradStart" class="link">Source</a></p><div class="doc"><p>The starting point for the first gradient stop. The coordinates are in
   <code><a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#v:local">local</a></code> units and the default is (-0.5, 0).</p></div></div><div class="top"><p class="src"><a name="v:lGradEnd" class="def">lGradEnd</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) (<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Attributes.html#lGradEnd" class="link">Source</a></p><div class="doc"><p>The ending point for the last gradient stop.The coordinates are in
   <code><a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#v:local">local</a></code> units and the default is (0.5, 0).</p></div></div><div class="top"><p class="src"><a name="v:lGradSpreadMethod" class="def">lGradSpreadMethod</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:LGradient">LGradient</a> n) <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a> <a href="src/Diagrams-TwoD-Attributes.html#lGradSpreadMethod" class="link">Source</a></p><div class="doc"><p>For setting the spread method.</p></div></div><div class="top"><p class="src"><a name="v:defaultLG" class="def">defaultLG</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n =&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n <a href="src/Diagrams-TwoD-Attributes.html#defaultLG" class="link">Source</a></p><div class="doc"><p>A default is provided so that linear gradients can easily be created using
   lenses. For example, <code>lg = defaultLG &amp; lGradStart .~ (0.25 ^&amp; 0.33)</code>. Note that
   no default value is provided for <code>lGradStops</code>, this must be set before
   the gradient value is used, otherwise the object will appear transparent.</p></div></div><div class="top"><p class="src"><a name="v:mkLinearGradient" class="def">mkLinearGradient</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n] -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a> -&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n <a href="src/Diagrams-TwoD-Attributes.html#mkLinearGradient" class="link">Source</a></p><div class="doc"><p>Make a linear gradient texture from a stop list, start point, end point,
   and <code><a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a></code>. The <code><a href="Diagrams-TwoD.html#v:lGradTrans">lGradTrans</a></code> field is set to the identity
   transfrom, to change it use the <code><a href="Diagrams-TwoD.html#v:lGradTrans">lGradTrans</a></code> lens.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:RGradient" class="def">RGradient</a> n <a href="src/Diagrams-TwoD-Attributes.html#RGradient" class="link">Source</a></p><div class="doc"><p>Radial Gradient</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:RGradient" class="def">RGradient</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_rGradStops" class="def">_rGradStops</a> :: [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n]</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_rGradCenter0" class="def">_rGradCenter0</a> :: <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_rGradRadius0" class="def">_rGradRadius0</a> :: n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_rGradCenter1" class="def">_rGradCenter1</a> :: <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_rGradRadius1" class="def">_rGradRadius1</a> :: n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_rGradTrans" class="def">_rGradTrans</a> :: <a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_rGradSpreadMethod" class="def">_rGradSpreadMethod</a> :: <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:RGradient" class="caption collapser" onclick="toggleSection('i:RGradient')">Instances</p><div id="section.i:RGradient" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n =&gt; <a href="Diagrams-Transform.html#t:Transformable">Transformable</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n)</span> <a href="src/Diagrams-TwoD-Attributes.html#line-159" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:V">V</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) = <a href="Diagrams-TwoD.html#t:V2">V2</a></span> <a href="src/Diagrams-TwoD-Attributes.html#line-156" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="keyword">type</span> <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:N">N</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) = n</span> <a href="src/Diagrams-TwoD-Attributes.html#line-157" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:rGradStops" class="def">rGradStops</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n] <a href="src/Diagrams-TwoD-Attributes.html#rGradStops" class="link">Source</a></p><div class="doc"><p>A list of stops (colors and fractions).</p></div></div><div class="top"><p class="src"><a name="v:rGradCenter0" class="def">rGradCenter0</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) (<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Attributes.html#rGradCenter0" class="link">Source</a></p><div class="doc"><p>The center point of the inner circle.</p></div></div><div class="top"><p class="src"><a name="v:rGradRadius0" class="def">rGradRadius0</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) n <a href="src/Diagrams-TwoD-Attributes.html#rGradRadius0" class="link">Source</a></p><div class="doc"><p>The radius of the inner cirlce in <code><a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#v:local">local</a></code> coordinates.</p></div></div><div class="top"><p class="src"><a name="v:rGradCenter1" class="def">rGradCenter1</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) (<a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Attributes.html#rGradCenter1" class="link">Source</a></p><div class="doc"><p>The center of the outer circle.</p></div></div><div class="top"><p class="src"><a name="v:rGradRadius1" class="def">rGradRadius1</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) n <a href="src/Diagrams-TwoD-Attributes.html#rGradRadius1" class="link">Source</a></p><div class="doc"><p>The radius of the outer circle in <code><a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#v:local">local</a></code> coordinates.</p></div></div><div class="top"><p class="src"><a name="v:rGradTrans" class="def">rGradTrans</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) (<a href="Diagrams-Transform.html#t:Transformation">Transformation</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) <a href="src/Diagrams-TwoD-Attributes.html#rGradTrans" class="link">Source</a></p><div class="doc"><p>A transformation to be applied to the gradient. Usually this field will
   start as the identity transform and capture the transforms that are applied
   to the gradient.</p></div></div><div class="top"><p class="src"><a name="v:rGradSpreadMethod" class="def">rGradSpreadMethod</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a> <a href="src/Diagrams-TwoD-Attributes.html#rGradSpreadMethod" class="link">Source</a></p><div class="doc"><p>For setting the spread method.</p></div></div><div class="top"><p class="src"><a name="v:defaultRG" class="def">defaultRG</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n =&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n <a href="src/Diagrams-TwoD-Attributes.html#defaultRG" class="link">Source</a></p><div class="doc"><p>A default is provided so that radial gradients can easily be created using
   lenses. For example, <code>rg = defaultRG &amp; rGradRadius1 .~ 0.25</code>. Note that
   no default value is provided for <code>rGradStops</code>, this must be set before
   the gradient value is used, otherwise the object will appear transparent.</p></div></div><div class="top"><p class="src"><a name="v:_RG" class="def">_RG</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism-39-">Prism'</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) (<a href="Diagrams-TwoD.html#t:RGradient">RGradient</a> n) <a href="src/Diagrams-TwoD-Attributes.html#_RG" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:mkRadialGradient" class="def">mkRadialGradient</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a> n =&gt; [<a href="Diagrams-TwoD.html#t:GradientStop">GradientStop</a> n] -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; n -&gt; <a href="Diagrams-Points.html#t:Point">Point</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n -&gt; n -&gt; <a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a> -&gt; <a href="Diagrams-TwoD.html#t:Texture">Texture</a> n <a href="src/Diagrams-TwoD-Attributes.html#mkRadialGradient" class="link">Source</a></p><div class="doc"><p>Make a radial gradient texture from a stop list, radius, start point,
   end point, and <code><a href="Diagrams-TwoD.html#t:SpreadMethod">SpreadMethod</a></code>. The <code><a href="Diagrams-TwoD.html#v:rGradTrans">rGradTrans</a></code> field is set to the identity
   transfrom, to change it use the <code><a href="Diagrams-TwoD.html#v:rGradTrans">rGradTrans</a></code> lens.</p></div></div><h2 id="g:35">Colors</h2><div class="top"><p class="src"><a name="v:fillColor" class="def">fillColor</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="Diagrams-Attributes.html#t:Color">Color</a> c, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; c -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Attributes.html#fillColor" class="link">Source</a></p><div class="doc"><p>Set the fill color.  This function is polymorphic in the color
   type (so it can be used with either <code><a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a></code> or <code><a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a></code>),
   but this can sometimes create problems for type inference, so the
   <code><a href="Diagrams-TwoD.html#v:fc">fc</a></code> and <code><a href="Diagrams-TwoD.html#v:fcA">fcA</a></code> variants are provided with more concrete types.</p></div></div><div class="top"><p class="src"><a name="v:_SC" class="def">_SC</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism-39-">Prism'</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) <a href="Diagrams-Attributes.html#t:SomeColor">SomeColor</a> <a href="src/Diagrams-TwoD-Attributes.html#_SC" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:_AC" class="def">_AC</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Prism-39-">Prism'</a> (<a href="Diagrams-TwoD.html#t:Texture">Texture</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>) <a href="src/Diagrams-TwoD-Attributes.html#_AC" class="link">Source</a></p><div class="doc"><p>Prism onto an <code><a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></code> of a <code><a href="Diagrams-TwoD.html#v:SC">SC</a></code> texture.</p></div></div><div class="top"><p class="src"><a name="v:fc" class="def">fc</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Attributes.html#fc" class="link">Source</a></p><div class="doc"><p>A synonym for <code><a href="Diagrams-TwoD.html#v:fillColor">fillColor</a></code>, specialized to <code><code><a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a></code> Double</code>
   (i.e. opaque colors). See comment after <code><a href="Diagrams-TwoD.html#v:fillColor">fillColor</a></code> about backends.</p></div></div><div class="top"><p class="src"><a name="v:fcA" class="def">fcA</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Attributes.html#fcA" class="link">Source</a></p><div class="doc"><p>A synonym for <code><a href="Diagrams-TwoD.html#v:fillColor">fillColor</a></code>, specialized to <code><code><a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a></code> Double</code>
   (i.e. colors with transparency). See comment after <code><a href="Diagrams-TwoD.html#v:fillColor">fillColor</a></code> about backends.</p></div></div><div class="top"><p class="src"><a name="v:recommendFillColor" class="def">recommendFillColor</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="Diagrams-Attributes.html#t:Color">Color</a> c, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; c -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Attributes.html#recommendFillColor" class="link">Source</a></p><div class="doc"><p>Set a &quot;recommended&quot; fill color, to be used only if no explicit
   calls to <code><a href="Diagrams-TwoD.html#v:fillColor">fillColor</a></code> (or <code><a href="Diagrams-TwoD.html#v:fc">fc</a></code>, or <code><a href="Diagrams-TwoD.html#v:fcA">fcA</a></code>) are used.
   See comment after <code><a href="Diagrams-TwoD.html#v:fillColor">fillColor</a></code> about backends.</p></div></div><div class="top"><p class="src"><a name="v:lineColor" class="def">lineColor</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="Diagrams-Attributes.html#t:Color">Color</a> c, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; c -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Attributes.html#lineColor" class="link">Source</a></p><div class="doc"><p>Set the line (stroke) color.  This function is polymorphic in the
   color type (so it can be used with either <code><a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a></code> or
   <code><a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a></code>), but this can sometimes create problems for type
   inference, so the <code><a href="Diagrams-TwoD.html#v:lc">lc</a></code> and <code><a href="Diagrams-TwoD.html#v:lcA">lcA</a></code> variants are provided with more
   concrete types.</p></div></div><div class="top"><p class="src"><a name="v:lc" class="def">lc</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Attributes.html#lc" class="link">Source</a></p><div class="doc"><p>A synonym for <code><a href="Diagrams-TwoD.html#v:lineColor">lineColor</a></code>, specialized to <code><code><a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a></code> Double</code>
   (i.e. opaque colors).  See comment in <code><a href="Diagrams-TwoD.html#v:lineColor">lineColor</a></code> about backends.</p></div></div><div class="top"><p class="src"><a name="v:lcA" class="def">lcA</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-V.html#t:InSpace">InSpace</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Style.html#t:HasStyle">HasStyle</a> a) =&gt; <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a> -&gt; a -&gt; a <a href="src/Diagrams-TwoD-Attributes.html#lcA" class="link">Source</a></p><div class="doc"><p>A synonym for <code><a href="Diagrams-TwoD.html#v:lineColor">lineColor</a></code>, specialized to <code><code><a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a></code> Double</code>
   (i.e. colors with transparency).  See comment in <code><a href="Diagrams-TwoD.html#v:lineColor">lineColor</a></code>
   about backends.</p></div></div><h1 id="g:36">Visual aids for understanding the internal model</h1><div class="top"><p class="src"><a name="v:showOrigin" class="def">showOrigin</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m <a href="src/Diagrams-TwoD-Model.html#showOrigin" class="link">Source</a></p><div class="doc"><p>Mark the origin of a diagram by placing a red dot 1/50th its size.</p></div></div><div class="top"><p class="src"><a name="v:showOrigin-39-" class="def">showOrigin'</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core.html#t:Monoid-39-">Monoid'</a> m) =&gt; <a href="Diagrams-TwoD.html#t:OriginOpts">OriginOpts</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m <a href="src/Diagrams-TwoD-Model.html#showOrigin%27" class="link">Source</a></p><div class="doc"><p>Mark the origin of a diagram, with control over colour and scale
 of marker dot.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:OriginOpts" class="def">OriginOpts</a> n <a href="src/Diagrams-TwoD-Model.html#OriginOpts" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OriginOpts" class="def">OriginOpts</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_oColor" class="def">_oColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_oScale" class="def">_oScale</a> :: n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_oMinSize" class="def">_oMinSize</a> :: n</dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:OriginOpts" class="caption collapser" onclick="toggleSection('i:OriginOpts')">Instances</p><div id="section.i:OriginOpts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Fractional">Fractional</a> n =&gt; <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Diagrams-TwoD.html#t:OriginOpts">OriginOpts</a> n)</span> <a href="src/Diagrams-TwoD-Model.html#line-76" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:oColor" class="def">oColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:OriginOpts">OriginOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>) <a href="src/Diagrams-TwoD-Model.html#oColor" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oScale" class="def">oScale</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:OriginOpts">OriginOpts</a> n) n <a href="src/Diagrams-TwoD-Model.html#oScale" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:oMinSize" class="def">oMinSize</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:OriginOpts">OriginOpts</a> n) n <a href="src/Diagrams-TwoD-Model.html#oMinSize" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:showEnvelope" class="def">showEnvelope</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Model.html#showEnvelope" class="link">Source</a></p><div class="doc"><p>Mark the envelope with an approximating cubic spline
   using 32 points, medium line width and red line color.</p></div></div><div class="top"><p class="src"><a name="v:showEnvelope-39-" class="def">showEnvelope'</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Model.html#showEnvelope%27" class="link">Source</a></p><div class="doc"><p>Mark the envelope with an approximating cubic spline with control 
   over the color, line width and number of points.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:EnvelopeOpts" class="def">EnvelopeOpts</a> n <a href="src/Diagrams-TwoD-Model.html#EnvelopeOpts" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:EnvelopeOpts" class="def">EnvelopeOpts</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_eColor" class="def">_eColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_eLineWidth" class="def">_eLineWidth</a> :: <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_ePoints" class="def">_ePoints</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:EnvelopeOpts" class="caption collapser" onclick="toggleSection('i:EnvelopeOpts')">Instances</p><div id="section.i:EnvelopeOpts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Envelope.html#t:OrderedField">OrderedField</a> n =&gt; <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n)</span> <a href="src/Diagrams-TwoD-Model.html#line-87" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:eColor" class="def">eColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>) <a href="src/Diagrams-TwoD-Model.html#eColor" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:eLineWidth" class="def">eLineWidth</a> :: <span class="keyword">forall</span> n n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens">Lens</a> (<a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Measure.html#t:Measure">Measure</a> n) <a href="src/Diagrams-TwoD-Model.html#eLineWidth" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:ePoints" class="def">ePoints</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:EnvelopeOpts">EnvelopeOpts</a> n) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> <a href="src/Diagrams-TwoD-Model.html#ePoints" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:showTrace" class="def">showTrace</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Model.html#showTrace" class="link">Source</a></p><div class="doc"><p>Mark the trace of a diagram by placing 64 red dots 1/100th its size
   along the trace.</p></div></div><div class="top"><p class="src"><a name="v:showTrace-39-" class="def">showTrace'</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Enum">Enum</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-Path.html#t:Path">Path</a> <a href="Diagrams-TwoD.html#t:V2">V2</a> n) b) =&gt; <a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Model.html#showTrace%27" class="link">Source</a></p><div class="doc"><p>Mark the trace of a diagram, with control over colour and scale
 of marker dot and the number of points on the trace.</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:TraceOpts" class="def">TraceOpts</a> n <a href="src/Diagrams-TwoD-Model.html#TraceOpts" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:TraceOpts" class="def">TraceOpts</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:_tColor" class="def">_tColor</a> :: <a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_tScale" class="def">_tScale</a> :: n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_tMinSize" class="def">_tMinSize</a> :: n</dt><dd class="doc empty">&nbsp;</dd><dt class="src"><a name="v:_tPoints" class="def">_tPoints</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a></dt><dd class="doc empty">&nbsp;</dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:TraceOpts" class="caption collapser" onclick="toggleSection('i:TraceOpts')">Instances</p><div id="section.i:TraceOpts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Floating">Floating</a> n =&gt; <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n)</span> <a href="src/Diagrams-TwoD-Model.html#line-99" class="link">Source</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:tColor" class="def">tColor</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour-RGBSpace.html#t:Colour">Colour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Double">Double</a>) <a href="src/Diagrams-TwoD-Model.html#tColor" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:tScale" class="def">tScale</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n) n <a href="src/Diagrams-TwoD-Model.html#tScale" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:tMinSize" class="def">tMinSize</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n) n <a href="src/Diagrams-TwoD-Model.html#tMinSize" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:tPoints" class="def">tPoints</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Diagrams-TwoD.html#t:TraceOpts">TraceOpts</a> n) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Int.html#t:Int">Int</a> <a href="src/Diagrams-TwoD-Model.html#tPoints" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:showLabels" class="def">showLabels</a> :: (<a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:TypeableFloat">TypeableFloat</a> n, <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:Renderable">Renderable</a> (<a href="Diagrams-TwoD-Text.html#t:Text">Text</a> n) b, <a href="file:///usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> m) =&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n m -&gt; <a href="file:///usr/share/doc/libghc-diagrams-core-doc/html/Diagrams-Core-Types.html#t:QDiagram">QDiagram</a> b <a href="Diagrams-TwoD.html#t:V2">V2</a> n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:Any">Any</a> <a href="src/Diagrams-TwoD-Model.html#showLabels" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>