golang-lazy-brush

command module
v0.0.0-...-4336dc7 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: MIT Imports: 3 Imported by: 0

README

بسم الله الرحمن الرحيم

Cloned this nice tool from https://github.com/dulnan/lazy-brush, 🌴 Thanks alot to dulnan

Sample example how to use it:


package main

import (
	"fmt"

	LB "github.com/Kassan424kh/golang-lazy-brush/lazy-brush"
	LP "github.com/Kassan424kh/golang-lazy-brush/lazy-point"
	P "github.com/Kassan424kh/golang-lazy-brush/point"
)

func main() {
	lb := LB.Init()

	lb.Update(P.Point{X: 50, Y: 0}, false)
	fmt.Println(lb.GetBrushCoordinates())

	lb.Update(P.Point{X: 200, Y: 50}, false)
	fmt.Println(lb.GetBrushCoordinates())
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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