GradientFill(hdc, Vertex, Mesh, Mode)
Shades triangles or rectangles by interpolating between vertex colors
Parameters
hdc : int
Handle to device contextVertex : (PyTRIVERTEX,...)
Sequence of TRIVERTEX dicts defining color infoMesh : tuple
Sequence of tuples containing either 2 or 3 ints that index into the trivertex array to define either triangles or rectanglesMode : int
win32con.GRADIENT_FILL_* value defining whether to fill by triangle or by rectangle