design

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultLabelFontFace

func DefaultLabelFontFace() font.Face

func DefaultTitleFontFace

func DefaultTitleFontFace() font.Face

Types

type EdgeInsets

type EdgeInsets struct {
	Top    float64
	Right  float64
	Bottom float64
	Left   float64
}

func (EdgeInsets) Horizontal

func (e EdgeInsets) Horizontal() float64

func (EdgeInsets) Vertical

func (e EdgeInsets) Vertical() float64

type TextBox

type TextBox struct {
	Content string
	Font    font.Face
}

func (TextBox) Height

func (t TextBox) Height() float64

func (TextBox) Lines

func (t TextBox) Lines() int

func (TextBox) Valid

func (t TextBox) Valid() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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