testimgs

package
v0.0.0-...-18831ba Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageBlackCircleWithTransparentBackground

func ImageBlackCircleWithTransparentBackground() image.Image

func ImageBlackSquareGreenRight

func ImageBlackSquareGreenRight(whiteMargin bool) image.Image

func ImageBlackSquareWhiteMargin

func ImageBlackSquareWhiteMargin() image.Image

func ImageFixtures

func ImageFixtures(total uint8, seed []byte) []image.Image

func ImageGenericMangaPage

func ImageGenericMangaPage() image.Image

func ImageMultiColorSquare

func ImageMultiColorSquare() image.Image

func NewBorderedImage

func NewBorderedImage(
	imgRect image.Rectangle,
	top, bottom, left, right int,
	bg, fg color.Color,
) image.Image

NewBorderedImage creates an image filled with a background color, and a central content area (inside the given margins) filled with a foreground color.

func NewSolidImage

func NewSolidImage(bounds image.Rectangle, fillColor color.Color) image.Image

NewSolidImage creates a new image with the specified bounds and fills it with the given solid color.

Types

This section is empty.

Jump to

Keyboard shortcuts

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