image

package
v0.0.0-...-c41b6d4 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Text

func Text(svg *svg.SVG, x int, y int, caption string) error

Types

type Rewrite

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

func NewRewrite

func NewRewrite() *Rewrite

func (*Rewrite) Data

func (r *Rewrite) Data(i string)

func (*Rewrite) Height

func (r *Rewrite) Height() int

func (*Rewrite) Name

func (r *Rewrite) Name() string

func (*Rewrite) Place

func (r *Rewrite) Place(svg *svg.SVG, reader io.Reader) error

func (*Rewrite) Rewrite

func (r *Rewrite) Rewrite() string

func (*Rewrite) SetHeight

func (r *Rewrite) SetHeight(height int)

func (*Rewrite) SetName

func (r *Rewrite) SetName(name string)

func (*Rewrite) SetWidth

func (r *Rewrite) SetWidth(width int)

func (*Rewrite) SetX

func (r *Rewrite) SetX(x int)

func (*Rewrite) SetY

func (r *Rewrite) SetY(y int)

func (*Rewrite) Width

func (r *Rewrite) Width() int

func (*Rewrite) X

func (r *Rewrite) X() int

func (*Rewrite) Y

func (r *Rewrite) Y() int

type Rewriter

type Rewriter interface {
	SetX(int)
	X() int
	SetY(int)
	Y() int
	SetWidth(int)
	Width() int
	SetHeight(int)
	Height() int
	SetName(string)
	Name() string
	Place(*svg.SVG, io.Reader) error
}

Jump to

Keyboard shortcuts

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