helper

package
v0.0.0-...-f4b0e07 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawRect

func DrawRect(r [2]orb.Point, clr color.RGBA) *ebiten.Image

DrawRect returns a new rectangle image with the given rectangle and color.

func NewCircle

func NewCircle(r int, clr color.RGBA) *ebiten.Image

NewCircle returns a new circle image with the given radius and color. The returned image is cached, so the same radius and color won't create a new image.

Types

This section is empty.

Jump to

Keyboard shortcuts

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