Fills the contour that matches the specified parameters.
@param g Graphics context.
@param comp Component to paint.
@param width Width of a UI component.
@param height Height of a UI component.
@param contour Contour of a UI component.
@param isFocused Indication whether component owns the focus.
@param colorScheme1 The first color scheme.
@param colorScheme2 The second color scheme.
@param cyclePos Cycle position. Is used for rollover and pulsation effects. Must be in 0..1 range.
@param hasShine Indication whether the returned image should have a 3D shine spot in its top half.
@param useCyclePosAsInterpolation Indicates the algorithm to use for computing various colors. If true, the cyclePos is used to interpolate colors between different color components of both color schemes. If false, the cyclePos is used to interpolate colors between different color components of the first color scheme.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.