drawing

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Arrow

func Arrow(img draw.Image, x1, y1, x2, y2 int, col color.Color, dashArray [2]int)

func DrawCircle

func DrawCircle(dst draw.Image, r int, p image.Point, stroke, fill color.Color)

func Line

func Line(img draw.Image, x1, y1, x2, y2 int, col color.Color, dashArray [2]int)

The Line algorithm is taken from github.com/StephaneBunel/bresenham

Types

This section is empty.

Jump to

Keyboard shortcuts

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