lines

package
v0.0.0-...-aac1211 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Line

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

func NewEmptyLine

func NewEmptyLine() *Line

func (*Line) Raw

func (l *Line) Raw() (float64, float64, float64, float64, color.RGBA)

func (*Line) SetRandomValues

func (l *Line) SetRandomValues(scale float64)

func (*Line) Shift

func (l *Line) Shift(x, y float64, scale float64)

type LinesPool

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

func NewLinesPool

func NewLinesPool(linesNum int) *LinesPool

func (*LinesPool) ForEach

func (lp *LinesPool) ForEach(c func(Line))

Jump to

Keyboard shortcuts

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