Documentation
¶
Overview ¶
Package svg provides constructors and methods for the HTML <svg> element.
The <svg> HTML element is a container that defines a new coordinate system and viewport. It is used as the outermost element of SVG documents, but it can also be used to embed an SVG fragment inside an SVG or HTML document.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TagOpen = []byte("<svg") TagClose = []byte("</svg>") AttrWidth = []byte(" width=\"") AttrHeight = []byte(" height=\"") AttrViewBox = []byte(" viewBox=\"") AttrPreserveAspectRatio = []byte(" preserveAspectRatio=\"") AttrXmlns = []byte(" xmlns=\"") )
Byte constants for HTML rendering.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.