images

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ColorBlack       = color.RGBA{A: 255}
	ColorWhite       = color.RGBA{R: 255, G: 255, B: 255, A: 255}
	ColorTransparent = color.RGBA{A: 0}
)

Functions

func NewScaled

func NewScaled(img image.Image, scaleFactorX, scaleFactorY float64) image.Image

func ReversePrint added in v1.3.0

func ReversePrint(mask, background image.Image) error

Types

type ScaledImgWrap

type ScaledImgWrap struct {
	// contains filtered or unexported fields
}

func (*ScaledImgWrap) At

func (w *ScaledImgWrap) At(x, y int) color.Color

func (*ScaledImgWrap) Bounds

func (w *ScaledImgWrap) Bounds() image.Rectangle

func (*ScaledImgWrap) ColorModel

func (w *ScaledImgWrap) ColorModel() color.Model

Jump to

Keyboard shortcuts

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