effects

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColorEffect

type ColorEffect struct {
	HexColor string
}

func (*ColorEffect) Apply

func (ce *ColorEffect) Apply(dest *image.RGBA, threshold int) *image.RGBA

type EffectInterface

type EffectInterface interface {
	Apply(dest *image.RGBA, threshold int) *image.RGBA
}

type EffectStruct

type EffectStruct struct {
}

type ShiftEffect

type ShiftEffect struct {
	*EffectStruct
}

func (*ShiftEffect) Apply

func (se *ShiftEffect) Apply(dest *image.RGBA, threshold int) *image.RGBA

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL