templates

package
v0.0.0-...-634110b Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Daily

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

func NewDaily

func NewDaily(spacing float64, dotSize float64, startHour, endHour int) Daily

func (Daily) Draw

func (d Daily) Draw(ctx *gg.Context)

func (Daily) Name

func (d Daily) Name() string

type Dots

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

func NewDots

func NewDots(spacing float64) Dots

func (Dots) Draw

func (d Dots) Draw(ctx *gg.Context)

func (Dots) Name

func (d Dots) Name() string

type Squares

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

func NewSquares

func NewSquares(name string, spacing, lineWidth float64) Squares

func (Squares) Draw

func (s Squares) Draw(ctx *gg.Context)

func (Squares) Name

func (s Squares) Name() string

type Template

type Template interface {
	Name() string

	Draw(ctx *gg.Context)
}

Jump to

Keyboard shortcuts

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