model

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Color

type Color struct {
	Red   int
	Green int
	Blue  int
}

type Identicon

type Identicon struct {
	IdenInfo          string
	Hash              [16]byte
	Color             color.Color
	CenterSpriteIndex int
	SideSpriteIndex   int
	CornerSpriteIndex int
	OutputType        constant.OutputType
	StartSideIndex    int
	StartCornerIndex  int
}

type Point

type Point struct {
	X float64
	Y float64
}

type Sprite

type Sprite struct {
	TopLeft Point
	Width   float64
	Height  float64
	Index   int
	Rotate  float64
}

Jump to

Keyboard shortcuts

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