shared

package
Version: v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawRect

func DrawRect(target *ebiten.Image, r image.Rectangle, clr color.Color, width int)

func FillRect

func FillRect(target *ebiten.Image, r image.Rectangle, clr color.Color)

Types

type Box

type Box struct {
	// contains filtered or unexported fields
}

func NewBox

func NewBox(w, h int, clr color.Color) *Box

func (*Box) Draw

func (box *Box) Draw(screen *ebiten.Image, frame image.Rectangle)

func (*Box) Size

func (box *Box) Size() image.Point

func (*Box) Update

func (box *Box) Update()

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to