Versions in this module Expand all Collapse all v1 v1.0.2 Feb 10, 2023 v1.0.1 Nov 11, 2022 Changes in this version + const Clear + const ColorBurn + const ColorDodge + const ColorMode + const Copy + const Darken + const Difference + const Dst + const DstAtop + const DstIn + const DstOut + const DstOver + const Exclusion + const HardLight + const Hue + const Lighten + const Luminosity + const Multiply + const Normal + const Overlay + const Saturation + const Screen + const SoftLight + const SrcAtop + const SrcIn + const SrcOut + const SrcOver + const Xor + func Abs(x T) T + func Contains(collection []T, value T) bool + func ImgToNRGBA(img image.Image) *image.NRGBA + func Max(values ...T) T + func Min(values ...T) T + type Bitmap struct + Img *image.NRGBA + func NewBitmap(rect image.Rectangle) *Bitmap + type Blend struct + Current string + Modes []string + func NewBlend() *Blend + func (bl *Blend) AlphaCompose(...) float64 + func (bl *Blend) Get() string + func (bl *Blend) Lum(rgb Color) float64 + func (bl *Blend) Sat(rgb Color) float64 + func (bl *Blend) Set(blendType string) error + func (bl *Blend) SetLum(rgb Color, l float64) Color + func (bl *Blend) SetSat(rgb Color, s float64) Color + type Color struct + B float64 + G float64 + R float64 + type Comp struct + CurrentOp string + Ops []string + func InitOp() *Comp + func (op *Comp) Draw(bitmap *Bitmap, src, dst *image.NRGBA, bl *Blend) + func (op *Comp) Get() string + func (op *Comp) Set(cop string) error