alignment

package
v0.0.0-...-6902453 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Middle = Center

Variables

This section is empty.

Functions

This section is empty.

Types

type Alignment

type Alignment int
const (
	TopStart    Alignment = iota // layout.NW
	Top                          // layout.N
	TopEnd                       // layout.NE
	End                          // layout.E
	BottomStart                  // layout.SE
	Bottom                       // layout.S
	BottomEnd                    // layout.SW
	Start                        // layout.W
	Center                       // layout.Center

	Baseline // layout.Center
)

func (Alignment) LayoutAlignment

func (a Alignment) LayoutAlignment() layout.Alignment

func (Alignment) LayoutDirection

func (a Alignment) LayoutDirection() layout.Direction

func (Alignment) String

func (a Alignment) String() string

Jump to

Keyboard shortcuts

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