views

package
v0.0.0-...-6a24cc9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageView

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

func (*ImageView) Draw

func (iv *ImageView) Draw() *ImageView

func (*ImageView) SetBackgroundColor

func (iv *ImageView) SetBackgroundColor(color *color.RGBA) *ImageView

func (*ImageView) SetDimensions

func (iv *ImageView) SetDimensions(x, y, w, h int16) *ImageView

func (*ImageView) SetDisplay

func (iv *ImageView) SetDisplay(device *st7789.Device) *ImageView

func (*ImageView) SetImage

func (iv *ImageView) SetImage(image string) *ImageView

type RectView

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

func (*RectView) Draw

func (rv *RectView) Draw() *RectView

func (*RectView) SetBackgroundColor

func (rv *RectView) SetBackgroundColor(color *color.RGBA) *RectView

func (*RectView) SetColor

func (rv *RectView) SetColor(color *color.RGBA) *RectView

func (*RectView) SetDimensions

func (rv *RectView) SetDimensions(x, y, w, h int16) *RectView

func (*RectView) SetDisplay

func (rv *RectView) SetDisplay(device *st7789.Device) *RectView

type TextView

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

func (*TextView) Draw

func (tv *TextView) Draw() *TextView

func (*TextView) SetBackgroundColor

func (tv *TextView) SetBackgroundColor(color *color.RGBA) *TextView

func (*TextView) SetColor

func (tv *TextView) SetColor(color *color.RGBA) *TextView

func (*TextView) SetDimensions

func (tv *TextView) SetDimensions(x, y, w, h int16) *TextView

func (*TextView) SetDisplay

func (tv *TextView) SetDisplay(device *st7789.Device) *TextView

func (*TextView) SetFont

func (tv *TextView) SetFont(font tinyfont.Fonter) *TextView

func (*TextView) SetFontColor

func (tv *TextView) SetFontColor(color *color.RGBA) *TextView

func (*TextView) SetText

func (tv *TextView) SetText(text string) *TextView

Jump to

Keyboard shortcuts

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