screenshotcatalog

package
v1.260331.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanonicalDisplayTypeForAPI

func CanonicalDisplayTypeForAPI(displayType string) string

CanonicalDisplayTypeForAPI converts local aliases to API-supported display types.

func DisplayTypes

func DisplayTypes() []string

DisplayTypes returns all supported display types in stable order.

Types

type Dimension

type Dimension struct {
	Width  int
	Height int
}

Dimension represents one allowed screenshot size.

func Dimensions

func Dimensions(displayType string) ([]Dimension, bool)

Dimensions returns a copy of dimensions for a display type.

Jump to

Keyboard shortcuts

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