STATE_polygon_get_brightness
If the brightness is not the same for all the points we return the average. relevant only for bitmap fill see also: STATE_polygon_set_brightness() STATE_polygon_is_uniform_brightness() STATE_point_get_brightness() STATE_point_set_brightness()