GradientPaint
Creates a fill with a gradient between the given colors.
Parameters
color1
associated with the start point
color2
associated with the end point
Parameters
colors
at stop points
Creates a fill with a gradient between the given colors.
associated with the start point
associated with the end point
at stop points