image

package
v0.0.0-...-c4a45a8 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pow

func Pow(x int) int

Types

type Image

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

func Default

func Default() *Image

func (*Image) HollowOut

func (img *Image) HollowOut(r *Rect)

func (*Image) ReadFile

func (img *Image) ReadFile(path string) error

func (*Image) Save

func (img *Image) Save(format, path string) error

type Rect

type Rect struct {
	X, Y, W, H     int
	IsCircleCorner bool
	CircleRadius   int
}

Jump to

Keyboard shortcuts

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