Diagrams.TwoD

R^2

data V2 a

class R1 t

class R2 t

type P2

type T2

r2

unr2

mkR2

p2

unp2

mkP2

unitX

unitY

unit_X

unit_Y

perp

leftTurn

xDir

yDir

Angles

tau

angleV

angleDir

signedAngleBetween

signedAngleBetweenDirs

Polar Coördinates

class HasR t

r2PolarIso

Paths

Stroking

stroke

stroke'

strokePath

strokeP

strokePath'

strokeP'

strokeTrail

strokeT

strokeTrail'

strokeT'

strokeLine

strokeLoop

strokeLocTrail

strokeLocT

strokeLocLine

strokeLocLoop

data FillRule

fillRule

_fillRule

data StrokeOpts a

vertexNames

queryFillRule

intersectPoints

intersectPoints'

intersectPointsP

intersectPointsP'

intersectPointsT

intersectPointsT'

Clipping

clipBy

clipTo

clipped

_Clip

_clip

Shapes

Rules

hrule

vrule

Circle-ish things

unitCircle

circle

ellipse

ellipseXY

arc

arc'

arcCW

arcCCW

wedge

arcBetween

annularWedge

General polygons

polygon

polyTrail

data PolygonOpts n

polyType

polyOrient

polyCenter

data PolyType n

data PolyOrientation n

Star polygons

data StarOpts

star

Regular polygons

regPoly

triangle

eqTriangle

square

pentagon

hexagon

heptagon

septagon

octagon

nonagon

decagon

hendecagon

dodecagon

Other special polygons

unitSquare

rect

Other shapes

roundedRect

roundedRect'

data RoundedRectOpts d

radiusTL

radiusTR

radiusBL

radiusBR

Arrows

arrowV

arrowV'

arrowAt

arrowAt'

arrowBetween

arrowBetween'

connect

connect'

connectPerim

connectPerim'

connectOutside

connectOutside'

arrow

arrow'

straightShaft

data ArrowOpts n

arrowHead

arrowTail

arrowShaft

headGap

tailGap

gaps

gap

headTexture

headStyle

tailTexture

tailStyle

shaftTexture

shaftStyle

headLength

tailLength

lengths

Text

text

topLeftText

alignedText

baselineText

font

italic

oblique

fontSize

bold

bolder

lighter

thinWeight

ultraLight

light

mediumWeight

heavy

semiBold

ultraBold

_font

_fontSizeR

_fontSize

fontSizeO

fontSizeL

fontSizeN

fontSizeG

Images

data DImage

data ImageData

data Embedded

data External

data Native t

image

loadImageEmb

loadImageExt

uncheckedImageRef

raster

rasterDia

Transformations

Rotation

rotation

rotate

rotateBy

rotated

rotationAround

rotateAround

rotationTo

rotateTo

Scaling

scalingX

scaleX

scalingY

scaleY

scaling

scale

scaleToX

scaleToY

scaleUToX

scaleUToY

Translation

translationX

translateX

translationY

translateY

translation

translate

Reflection

reflectionX

reflectX

reflectionY

reflectY

reflectionXY

reflectXY

reflectionAbout

reflectAbout

Shears

shearingX

shearX

shearingY

shearY

Deformations - non-affine transforms

parallelX0

perspectiveX1

parallelY0

perspectiveY1

facingX

facingY

Combinators

Combining multiple diagrams

(===)

(|||)

hcat

hcat'

hsep

vcat

vcat'

vsep

Spacing and envelopes

strutX

strutY

padX

padY

extrudeLeft

extrudeRight

extrudeBottom

extrudeTop

rectEnvelope

Background

boundingRect

bg

bgFrame

Alignment

alignL

alignR

alignT

alignB

alignTL

alignTR

alignBL

alignBR

alignX

alignY

centerX

centerY

centerXY

Snugging

snugL

snugR

snugT

snugB

snugX

snugY

snugCenterX

snugCenterY

snugCenterXY

Size

Computing size

width

height

extentX

extentY

Specifying size

mkSizeSpec2D

mkWidth

mkHeight

dims2D

Textures

data Texture n

solid

data SpreadMethod

data GradientStop d

_FillTexture

fillTexture

_fillTexture

getFillTexture

_LineTexture

lineTexture

_lineTexture

lineTextureA

getLineTexture

stopFraction

stopColor

mkStops

data LGradient n

_LG

lGradStops

lGradTrans

lGradStart

lGradEnd

lGradSpreadMethod

defaultLG

mkLinearGradient

data RGradient n

rGradStops

rGradCenter0

rGradRadius0

rGradCenter1

rGradRadius1

rGradTrans

rGradSpreadMethod

defaultRG

_RG

mkRadialGradient

Colors

fillColor

_SC

_AC

fc

fcA

recommendFillColor

lineColor

lc

lcA

Visual aids for understanding the internal model

showOrigin

showOrigin'

data OriginOpts n

oColor

oScale

oMinSize

showEnvelope

showEnvelope'

data EnvelopeOpts n

eColor

eLineWidth

ePoints

showTrace

showTrace'

data TraceOpts n

tColor

tScale

tMinSize

tPoints

showLabels