Documentation ¶
Index ¶
- type Canvas
- func (svg *Canvas) Bounds() plot.Rect
- func (svg *Canvas) Bytes() []byte
- func (svg *Canvas) Clip(r plot.Rect) plot.Canvas
- func (svg *Canvas) Context(r plot.Rect) plot.Canvas
- func (svg *Canvas) Layer(index int) plot.Canvas
- func (svg *Canvas) Poly(points []plot.Point, style *plot.Style)
- func (svg *Canvas) Rect(r plot.Rect, style *plot.Style)
- func (svg *Canvas) Size() plot.Point
- func (svg *Canvas) Text(text string, at plot.Point, style *plot.Style)
- func (svg *Canvas) WriteTo(dst io.Writer) (n int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Canvas ¶
type Canvas struct { Style string // contains filtered or unexported fields }
Canvas describes the top-level svg drawing context.
Click to show internal directories.
Click to hide internal directories.