threepenny-gui-0.9.4.1: GUI framework that uses the web browser as a display.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.UI.Threepenny.SVG.Attributes

Synopsis

Synopsis

SVG attributes as defined by W3C, Scalable Vector Graphics (SVG) 1.1 (Second Edition) Appendix M http://www.w3.org/TR/2011/REC-SVG11-20110816/.

Whenever possible, the Haskell identifier for an attribute is the same as the attribute name. However, sometimes changes are necessary:

  1. Hyphens - are replaced by underscores _, e.g. stroke_width.
  2. An underscore is used whenever the attribute name conflicts with a reserved word in Haskell, e.g. class_.

Regular attributes

Regular attributes (alternative spellings, deprecated)

refx :: WriteAttr Element String Source #

Deprecated: Use refX and refY instead

refy :: WriteAttr Element String Source #

Deprecated: Use refX and refY instead

Presentation attributes