modes

package
v1.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	STRING_SCALE    = "Scale"
	STRING_TILE     = "Tile"
	STRING_CENTER   = "Center"
	STRING_ORIGINAL = "Original"
	STRING_ZOOM     = "Zoom fill"
)

Variables

This section is empty.

Functions

func ModeToStr

func ModeToStr(s FillStyle) string

Types

type FillStyle

type FillStyle int
const (
	FILL_ZOOM FillStyle = iota
	FILL_CENTER
	FILL_TILE
	FILL_ORIGINAL
	FILL_SCALE
)

func StrToMode

func StrToMode(s string) FillStyle

Jump to

Keyboard shortcuts

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