alpha

package
v0.1.89 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alpha

func Alpha(alpha float32) ui.Modifier

Types

type AlphaElement

type AlphaElement struct {
	Alpha float32
}

func (AlphaElement) Create

func (e AlphaElement) Create() Node

Create creates a new Chain Node instance

func (AlphaElement) Equals

func (e AlphaElement) Equals(other Element) bool

Equals checks if this element is equivalent to another

func (AlphaElement) GetAlpha

func (e AlphaElement) GetAlpha() float32

func (AlphaElement) Update

func (e AlphaElement) Update(node Node)

Update updates an existing Chain node for efficiency

type AlphaNode

type AlphaNode struct {
	ChainNode
	// contains filtered or unexported fields
}

type AlphaState

type AlphaState struct {
	Alpha float32
}

type ChainNode

type ChainNode = node.ChainNode

func NewAlphaNode

func NewAlphaNode(element AlphaElement) ChainNode

type DrawModifierNode

type DrawModifierNode = layoutnode.DrawModifierNode

type Element

type Element = modifier.Element

type InspectableModifier

type InspectableModifier = modifier.InspectableModifier

type LayoutContext

type LayoutContext = layoutnode.LayoutContext

type LayoutDimensions

type LayoutDimensions = layoutnode.LayoutDimensions

type LayoutWidget

type LayoutWidget = layoutnode.LayoutWidget

type ModifierInspectorInfo

type ModifierInspectorInfo = modifier.InspectorInfo

type Node

type Node = node.Node

type TreeNode

type TreeNode = node.TreeNode

Jump to

Keyboard shortcuts

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