scale

package
v0.1.111 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scale

func Scale(scale float32) ui.Modifier

func ScaleXY

func ScaleXY(x, y float32) ui.Modifier

Types

type ScaleData

type ScaleData struct {
	ScaleX float32
	ScaleY float32
}

type ScaleElement

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

func (*ScaleElement) Create

func (e *ScaleElement) Create() node.Node

func (*ScaleElement) Equals

func (e *ScaleElement) Equals(other modifier.Element) bool

func (*ScaleElement) Update

func (e *ScaleElement) Update(n node.Node)

type ScaleNode

type ScaleNode struct {
	node.ChainNode
	// contains filtered or unexported fields
}

func NewScaleNode

func NewScaleNode(data ScaleData) *ScaleNode

Jump to

Keyboard shortcuts

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