Documentation
¶
Overview ¶
Package svg provide methods to work effortlessly with SVG.
Index ¶
- type SVG
- func (s *SVG) Circle(cx, cy, r interface{}, args map[string]interface{})
- func (s *SVG) Group(elements [2]string, args map[string]interface{})
- func (s *SVG) Path(str string, args map[string]interface{})
- func (s *SVG) Polyline(str string, args map[string]interface{})
- func (s *SVG) Rect(x, y, w, h interface{}, args map[string]interface{})
- func (s *SVG) Set_height(h int)
- func (s *SVG) Set_width(w int)
- func (s *SVG) Str() string
- func (s *SVG) Write_args(args map[string]interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SVG ¶
type SVG struct {
// contains filtered or unexported fields
}
SVG struct, SVG contains elementry attributes like svg string, width, height
func (*SVG) Group ¶
Group adds a group element to SVG object.
It groups optionally provided elements together.
func (*SVG) Write_args ¶
Write_args adds additional attributes to a SVG elements.
It parses provides 'map' arguments to add attributes to SVG element.
Click to show internal directories.
Click to hide internal directories.