Versions in this module Expand all Collapse all v0 v0.7.2 Apr 1, 2019 Changes in this version + type Backend interface + AsImage func() Image + CanUseAsImage func(b Backend) bool + Clear func(pts [4][2]float64) + ClearClip func() + Clip func(pts [][2]float64) + DrawImage func(dimg Image, sx, sy, sw, sh float64, pts [4][2]float64, alpha float64) + Fill func(style *FillStyle, pts [][2]float64) + FillImageMask func(style *FillStyle, mask *image.Alpha, pts [][2]float64) + GetImageData func(x, y, w, h int) *image.RGBA + LoadImage func(img image.Image) (Image, error) + LoadImagePattern func(data ImagePatternData) ImagePattern + LoadLinearGradient func(data Gradient) LinearGradient + LoadRadialGradient func(data Gradient) RadialGradient + PutImageData func(img *image.RGBA, x, y int) + Size func() (int, int) + type FillStyle struct + Blur float64 + Color color.RGBA + Gradient struct{ ... } + ImagePattern ImagePattern + LinearGradient LinearGradient + RadialGradient RadialGradient + type Gradient []GradientStop + func (g Gradient) ColorAt(pos float64) color.RGBA + type GradientStop struct + Color color.RGBA + Pos float64 + type Image interface + Delete func() + Height func() int + Replace func(src image.Image) error + Size func() (w, h int) + Width func() int + type ImagePattern interface + Delete func() + Replace func(data ImagePatternData) + type ImagePatternData struct + Image Image + type LinearGradient interface + Delete func() + Replace func(data Gradient) + type RadialGradient interface + Delete func() + Replace func(data Gradient)