Documentation ¶
Index ¶
- func Assert[A any, B any](a A, _ B) A
- func Clamp[N float32 | float64 | int | int8 | int16 | int32 | int64](n, min, max N) N
- func DebugPrintln(isDebug *bool) func(a ...any)
- func DrawTextLines(text []string, startX, startY, fontSize int32, color color.RGBA)
- func GetPixeliteVersion() (string, error)
- func IsFileNotFoundError(e error) bool
- func LoadImage(fpath string) (image.Image, error)
- func SaveImage(fpath string, img image.Image) error
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DebugPrintln ¶
func DrawTextLines ¶
func GetPixeliteVersion ¶
func IsFileNotFoundError ¶
Types ¶
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
func NewVersion ¶
Click to show internal directories.
Click to hide internal directories.