imgutil

package
v0.0.0-...-3832ca7 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: 0BSD Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LeftRotate

type LeftRotate struct {
	Image image.Image
}

LeftRotate is a 90 degree rotating image.Image wrapper.

func (*LeftRotate) At

func (lr *LeftRotate) At(x, y int) color.Color

At implements image.Image.

func (*LeftRotate) Bounds

func (lr *LeftRotate) Bounds() image.Rectangle

Bounds implements image.Image.

func (*LeftRotate) ColorModel

func (lr *LeftRotate) ColorModel() color.Model

ColorModel implements image.Image.

type Scale

type Scale struct {
	Image image.Image
	Scale int
}

Scale is a scaling image.Image wrapper.

func (*Scale) At

func (s *Scale) At(x, y int) color.Color

At implements image.Image.

func (*Scale) Bounds

func (s *Scale) Bounds() image.Rectangle

Bounds implements image.Image.

func (*Scale) ColorModel

func (s *Scale) ColorModel() color.Model

ColorModel implements image.Image.

Jump to

Keyboard shortcuts

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