Package Usage: go: github.com/ajstarks/svgo
Package svg generates SVG as defined by the Scalable Vector Graphics 1.1 Specification (<http://www.w3.org/TR/SVG11/>).
Output goes to the specified io.Writer.
Shapes, lines, text
Paths
Image and Gradients
Transforms
Filter Effects
Metadata elements
Usage: (assuming GOPATH is set)
You can use godoc to browse the documentation from the command line:
a minimal program, to generate SVG to standard output.
Drawing in a web server: (http://localhost:2003/circle)
Many functions use x, y to specify an object's location, and w, h to specify the object's width and height.
Where applicable, a final optional argument specifies the style to be applied to the object.
The style strings follow the SVG standard; name:value pairs delimited by semicolons, or a
series of name="value" pairs. For example: `"fill:none; opacity:0.3"` or `fill="none" opacity="0.3"` (see: <http://www.w3.org/TR/SVG11/styling.html>)
The SVG type:
Most operations are methods on this type, specifying the destination io.Writer.
The Offcolor type:
is used to specify the offset, color, and opacity of stop colors in linear and radial gradients
The Filterspec type:
is used to specify inputs and results for filter effects
Package svg provides an API for generating Scalable Vector Graphics (SVG)
6 versions
Latest release: plus de 3 ans ago
866 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/ajstarks/svgo
Dependent Repos 6
cea-hpc/fabricmon Fork of dswarbrick/fabricmon
InfiniBand fabric monitoring daemon written in GoSize: 404 ko - Last synced: 1 jour ago - Pushed: 6 mois ago

tchapgouv/matrix-media-repo Fork of t2bot/matrix-media-repo
Matrix media repository with multi-domain in mind.Size: 6,2 Mo - Last synced: environ 18 heures ago - Pushed: plus d'un an ago

radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube
Size: 2,99 Mo - Last synced: 7 mois ago - Pushed: 9 mois ago

go-hep/hep
hep is the mono repository holding all of go-hep.org/x/hep packages and toolsLast synced: 7 mois ago

