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: over 3 years 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 KB - Last synced: 7 days ago - Pushed: 8 months ago
tchapgouv/matrix-media-repo Fork of t2bot/matrix-media-repo
Matrix media repository with multi-domain in mind.Size: 6.2 MB - Last synced: 6 days ago - Pushed: almost 2 years ago
radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube
Size: 2.99 MB - Last synced: 8 months ago - Pushed: 11 months ago
go-hep/hep
hep is the mono repository holding all of go-hep.org/x/hep packages and toolsLast synced: 8 months ago