Documentation ¶
Index ¶
- type Graph
- func (_ Graph) FillPoly(gc *draw2dimg.GraphicContext, c color.Color, v ...float64)
- func (_ Graph) FillPolyRel(gc *draw2dimg.GraphicContext, c color.Color, v ...float64)
- func (_ Graph) FillRectangle(gc *draw2dimg.GraphicContext, x, y, w, h float64, c color.Color) (float64, float64)
- func (g Graph) New1080p() renderer.Context
- func (g Graph) New4k() renderer.Context
- func (g Graph) New720p() renderer.Context
- func (g Graph) NewContext() renderer.Context
- func (_ Graph) NewFont(name string, size float64, family draw2d.FontFamily, style draw2d.FontStyle) font.Font
- func (_ Graph) NewImageContext(img draw.Image) renderer.Context
- func (_ Graph) NewSizedContext(w, h int) renderer.Context
- func (_ Graph) ParseFont(s string) (font.Font, error)
- func (_ Graph) Rectangle(gc *draw2dimg.GraphicContext, x, y, w, h float64)
- func (_ Graph) RelLine(gc *draw2dimg.GraphicContext, x, y float64, v ...float64)
- func (_ Graph) SetFont(gc *draw2dimg.GraphicContext, s string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct { }
func (Graph) FillPolyRel ¶
func (Graph) FillRectangle ¶
func (Graph) NewContext ¶
Click to show internal directories.
Click to hide internal directories.