img

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawWatermark

func DrawWatermark(im image.Image, text string, c color.Color)

Types

type ColorGradient

type ColorGradient []struct {
	colorful.Color
	// contains filtered or unexported fields
}

func (*ColorGradient) GetColorAt

func (c *ColorGradient) GetColorAt(p float64) color.Color

func (*ColorGradient) Parse

func (c *ColorGradient) Parse(str string) error

func (*ColorGradient) String

func (c *ColorGradient) String() string

Jump to

Keyboard shortcuts

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