entities

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package entities implements various options models.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheItem

type CacheItem struct {
	Image    image.Image
	ImgType  string
	Hash     string
	RawBytes []byte
}

CacheItem is the base cache item.

type Interpolation

type Interpolation int

Interpolation type for reviewers.

const (
	NearestNeighbor Interpolation = iota
	Bilinear
	Bicubic
	MitchellNetravali
	Lanczos2
	Lanczos3
	ApproxBiLinear // xdraw only
	CatmullRom     // xdraw only
)

Constants for interpolation method.

type ResizeOptions

type ResizeOptions struct {
	Interpolation Interpolation
}

ResizeOptions is the base resize options.

Jump to

Keyboard shortcuts

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