dynamic

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicColor

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

func Blend

func Blend(old color.Color, target color.Color, duration time.Duration) *DynamicColor

func (*DynamicColor) BlendTo

func (c *DynamicColor) BlendTo(newTarget color.Color, duration time.Duration) *DynamicColor

func (*DynamicColor) Equal added in v0.4.1

func (c *DynamicColor) Equal(col inner.Color) bool

func (*DynamicColor) HSL added in v0.4.1

func (c *DynamicColor) HSL() inner.HSL

func (*DynamicColor) HSV added in v0.4.1

func (c *DynamicColor) HSV() inner.HSV

func (*DynamicColor) RGB added in v0.4.1

func (c *DynamicColor) RGB() inner.RGB

func (*DynamicColor) RGBA

func (c *DynamicColor) RGBA() (r, g, b, A uint32)

Jump to

Keyboard shortcuts

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