Pixel
Last updated
Last updated
Draw a pixel in the image.
x
int
X-Coordinate of the pixel.
y
int
Y-Coordinate of the pixel.
c
color.Color
Color of the pixel.
The instance of *imgo.Image
.
package main
import (
"github.com/fishtailstudio/imgo"
"image/color"
)
func main() {
imgo.Canvas(300, 300, color.White).
Pixel(