evancz/elm-svg/1.0.2

NOTE: this package moved to elm/svg

NOTE: this package is not compatible with Elm 0.19.1

Svg

HTML Embedding

svg : List Attribute -> List Svg -> Html
foreignObject : List Attribute -> List Html -> Svg

Graphics elements

circle : List Attribute -> List Svg -> Svg

The circle element is an SVG basic shape, used to create circles based on a center point and a radius.

circle [ cx "60", cy "60", r "50" ] []
ellipse : List Attribute -> List Svg -> Svg
image : List Attribute -> List Svg -> Svg
line : List Attribute -> List Svg -> Svg
path : List Attribute -> List Svg -> Svg
polygon : List Attribute -> List Svg -> Svg
polyline : List Attribute -> List Svg -> Svg

The polyline element is an SVG basic shape, used to create a series of straight lines connecting several points. Typically a polyline is used to create open shapes.

polyline [ fill "none", stroke "black", points "20,100 40,60 70,80 100,20" ] []
rect : List Attribute -> List Svg -> Svg
use : List Attribute -> List Svg -> Svg

Animation elements

animate : List Attribute -> List Svg -> Svg
animateColor : List Attribute -> List Svg -> Svg
animateMotion : List Attribute -> List Svg -> Svg
animateTransform : List Attribute -> List Svg -> Svg
mpath : List Attribute -> List Svg -> Svg
set : List Attribute -> List Svg -> Svg

Descriptive elements

desc : List Attribute -> List Svg -> Svg
metadata : List Attribute -> List Svg -> Svg
title : List Attribute -> List Svg -> Svg

Containers

a : List Attribute -> List Svg -> Svg

The SVG Anchor Element defines a hyperlink.

defs : List Attribute -> List Svg -> Svg
g : List Attribute -> List Svg -> Svg
marker : List Attribute -> List Svg -> Svg
mask : List Attribute -> List Svg -> Svg
missingGlyph : List Attribute -> List Svg -> Svg
pattern : List Attribute -> List Svg -> Svg
switch : List Attribute -> List Svg -> Svg
symbol : List Attribute -> List Svg -> Svg

Text

altGlyph : List Attribute -> List Svg -> Svg
altGlyphDef : List Attribute -> List Svg -> Svg
altGlyphItem : List Attribute -> List Svg -> Svg
glyph : List Attribute -> List Svg -> Svg
glyphRef : List Attribute -> List Svg -> Svg
textPath : List Attribute -> List Svg -> Svg
text : List Attribute -> List Svg -> Svg
tref : List Attribute -> List Svg -> Svg
tspan : List Attribute -> List Svg -> Svg

Fonts

font : List Attribute -> List Svg -> Svg
fontFace : List Attribute -> List Svg -> Svg
fontFaceFormat : List Attribute -> List Svg -> Svg
fontFaceName : List Attribute -> List Svg -> Svg
fontFaceSrc : List Attribute -> List Svg -> Svg
fontFaceUri : List Attribute -> List Svg -> Svg
hkern : List Attribute -> List Svg -> Svg
vkern : List Attribute -> List Svg -> Svg

Gradients

linearGradient : List Attribute -> List Svg -> Svg
radialGradient : List Attribute -> List Svg -> Svg
stop : List Attribute -> List Svg -> Svg

Filters

feBlend : List Attribute -> List Svg -> Svg
feColorMatrix : List Attribute -> List Svg -> Svg
feComponentTransfer : List Attribute -> List Svg -> Svg
feComposite : List Attribute -> List Svg -> Svg
feConvolveMatrix : List Attribute -> List Svg -> Svg
feDiffuseLighting : List Attribute -> List Svg -> Svg
feDisplacementMap : List Attribute -> List Svg -> Svg
feFlood : List Attribute -> List Svg -> Svg
feFuncA : List Attribute -> List Svg -> Svg
feFuncB : List Attribute -> List Svg -> Svg
feFuncG : List Attribute -> List Svg -> Svg
feFuncR : List Attribute -> List Svg -> Svg
feGaussianBlur : List Attribute -> List Svg -> Svg
feImage : List Attribute -> List Svg -> Svg
feMerge : List Attribute -> List Svg -> Svg
feMergeNode : List Attribute -> List Svg -> Svg
feMorphology : List Attribute -> List Svg -> Svg
feOffset : List Attribute -> List Svg -> Svg
feSpecularLighting : List Attribute -> List Svg -> Svg
feTile : List Attribute -> List Svg -> Svg
feTurbulence : List Attribute -> List Svg -> Svg

Light source elements

feDistantLight : List Attribute -> List Svg -> Svg
fePointLight : List Attribute -> List Svg -> Svg
feSpotLight : List Attribute -> List Svg -> Svg

Miscellaneous

clipPath : List Attribute -> List Svg -> Svg
colorProfile : List Attribute -> List Svg -> Svg
cursor : List Attribute -> List Svg -> Svg
filter : List Attribute -> List Svg -> Svg
script : List Attribute -> List Svg -> Svg
style : List Attribute -> List Svg -> Svg
view : List Attribute -> List Svg -> Svg