libtcod-net
AverageColorOfRegion Method (x0, y0, x1, y1)
NamespaceslibtcodWrapperImageAverageColorOfRegion(Single, Single, Single, Single)
Use mipmaps to get average color of a region
Declaration Syntax
C#
public Color AverageColorOfRegion(
	float x0,
	float y0,
	float x1,
	float y1
)
Parameters
x0 (Single)
Upper left corner x coord
y0 (Single)
Upper left corner y coord
x1 (Single)
Lower right corner x coord
y1 (Single)
Lower right corner y coord
Return Value

Assembly: libtcodWrapper (Module: libtcodWrapper) Version: 0.2.0.0 (0.2.0.0)