cv

package
v0.0.0-...-bac2d7c Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoldRect

func BoldRect(img *image.RGBA, x1, y1, x2, y2 int, col color.Color, bold int)

func DrawText

func DrawText(img draw.Image, str string, x, y int, color color.Color, fontSize float64, font *truetype.Font) error

func HLine

func HLine(img *image.RGBA, x1, y, x2 int, col color.Color)

func LoadFont

func LoadFont(filePath string) (*truetype.Font, error)

func Rect

func Rect(img *image.RGBA, x1, y1, x2, y2 int, col color.Color)

func VLine

func VLine(img *image.RGBA, x, y1, y2 int, col color.Color)

Types

This section is empty.

Jump to

Keyboard shortcuts

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