paint

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2016 License: MIT Imports: 5 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FloodFill

func FloodFill(img image.Image, sp image.Point, c color.Color, fuzz float64) *image.RGBA

FloodFill fills a area of the image with a provided color and returns the new image. Parameter sp is the starting point of the fill. Parameter c is the fill color. Parameter fuzz is the percentage of maximum color distance tolerated when flooding the area.

Types

This section is empty.

Jump to

Keyboard shortcuts

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