ImageData.fillGradientRectangle

Renders a gradient onto a GC. <p> This is a GC helper. </p>

@param gc the GC to render the gradient onto @param device the device the GC belongs to @param x the top-left x coordinate of the region to be filled @param y the top-left y coordinate of the region to be filled @param width the width of the region to be filled @param height the height of the region to be filled @param vertical if true sweeps from top to bottom, else sweeps from left to right @param fromRGB the color to start with @param toRGB the color to end with @param redBits the number of significant red bits, 0 for palette modes @param greenBits the number of significant green bits, 0 for palette modes @param blueBits the number of significant blue bits, 0 for palette modes

class ImageData
static
void
fillGradientRectangle

Meta