geom/point.go

14 lines
239 B
Go
Raw Normal View History

package geom
import (
_image "image"
)
// Point is exposing the standard library image.Point in the geom package.
type Point _image.Point
// Pt is a shorthand function to create a point.
func Pt(x, y int) Point {
return Point{x, y}
}