label

package
v0.0.0-...-40e17fa Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Label

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

func New

func New(x, y, w, h int, style string, inverted bool, source func() string) *Label

func (*Label) Draw

func (l *Label) Draw() (*ebiten.Image, *ebiten.DrawImageOptions)

func (*Label) Height

func (l *Label) Height() int

func (*Label) LeftMouseButtonPress

func (l *Label) LeftMouseButtonPress(x, y int) bool

func (*Label) LeftMouseButtonRelease

func (l *Label) LeftMouseButtonRelease(x, y int) bool

Jump to

Keyboard shortcuts

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