Graphics.Svg.Types

Basic building types

type Coord

data Origin

type Point

type RPoint

data PathCommand

data Transformation

data ElementRef

data CoordinateUnits

Building helpers

toPoint

serializeNumber

serializeTransformation

serializeTransformations

Drawing control types

data Cap

data LineJoin

data Tree

data Number

data Spread

data Texture

data Element

data FillRule

data FontStyle

type Dpi

class WithDefaultSvg a

Main type

data Document

class HasDocument c

documentSize

Drawing attributes

data DrawAttributes

class HasDrawAttributes c

class WithDrawAttributes a

SVG drawing primitives

Rectangle

data Rectangle

class HasRectangle c

Line

data Line

class HasLine c

Polygon

data Polygon

class HasPolygon c

Polyline

data PolyLine

class HasPolyLine c

Path

data Path

class HasPath c

Circle

data Circle

class HasCircle c

Ellipse

data Ellipse

class HasEllipse c

Mesh (gradient mesh)

data GradientPathCommand

data MeshGradientType

data MeshGradient

class HasMeshGradient c

data MeshGradientRow

class HasMeshGradientRow c

data MeshGradientPatch

class HasMeshGradientPatch c

Image

data Image

class HasImage c

Use

data Use

class HasUse c

Grouping primitives

Group

data Group a

class HasGroup c a

Symbol

data Symbol a

groupOfSymbol

Text related types

Text

data Text

class HasText c

data TextAnchor

textAt

Text path

data TextPath

class HasTextPath c

data TextPathSpacing

data TextPathMethod

Text span.

data TextSpanContent

data TextSpan

class HasTextSpan c

data TextInfo

class HasTextInfo c

data TextAdjust

Marker definition

data Marker

data Overflow

data MarkerOrientation

data MarkerUnit

class HasMarker c

Gradient definition

data GradientStop

class HasGradientStop c

Linear Gradient

data LinearGradient

class HasLinearGradient c

Radial Gradient

data RadialGradient

class HasRadialGradient c

Pattern definition

data Pattern

class HasPattern c

Mask definition

data Mask

class HasMask c

Clip path definition

data ClipPath

class HasClipPath c

Aspect Ratio description

data PreserveAspectRatio

data Alignment

data MeetSlice

class HasPreserveAspectRatio c

MISC functions

isPathArc

isPathWithArc

nameOfTree

zipTree

mapTree

foldTree

toUserUnit

mapNumber