Documentation ¶
Index ¶
- type Canvas
- func (c Canvas) Blur(radius int, weight WeightFunction)
- func (c Canvas) BlurPixel(x, y, radius int, weight WeightFunction) color.Color
- func (c Canvas) Clone() *Canvas
- func (c Canvas) DrawCircle(color color.RGBA, center Vector, radius int)
- func (c Canvas) DrawGradient()
- func (c Canvas) DrawLine(col color.RGBA, from, to Vector)
- func (c Canvas) DrawRect(col color.RGBA, from, to Vector)
- func (c Canvas) DrawSpiral(col color.RGBA, where Vector)
- type Vector
- type WeightFunction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Canvas ¶
func (Canvas) BlurPixel ¶
func (c Canvas) BlurPixel(x, y, radius int, weight WeightFunction) color.Color
func (Canvas) DrawGradient ¶
func (c Canvas) DrawGradient()
type WeightFunction ¶
Click to show internal directories.
Click to hide internal directories.