image

package
v2.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SvgImage

type SvgImage struct {
	// contains filtered or unexported fields
}

func NewSvg

func NewSvg(out io.Writer, xy ...int) *SvgImage

func NewSvgFile

func NewSvgFile(outputPath string, xy ...int) *SvgImage

func (*SvgImage) Circle

func (i *SvgImage) Circle(x int, y int, radius int, extra string)

func (*SvgImage) End

func (i *SvgImage) End()

func (*SvgImage) Gend

func (i *SvgImage) Gend()

func (*SvgImage) Group

func (i *SvgImage) Group()

func (*SvgImage) Line

func (i *SvgImage) Line(x1 int, y1 int, x2 int, y2 int, extra string)

func (*SvgImage) MarkerEnd

func (i *SvgImage) MarkerEnd()

func (*SvgImage) Path

func (i *SvgImage) Path(path string)

func (*SvgImage) Rect

func (i *SvgImage) Rect(x int, y int, width int, height int, extra string)

func (*SvgImage) Render

func (i *SvgImage) Render(m metamodel.MetaModel, initialVectors ...metamodel.Vector)

func (*SvgImage) Text

func (i *SvgImage) Text(x int, y int, text string, extra string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL