The array of colors in the fill-color property of the style.
The array of colors in the fill-color property of the style.
The style to use.
An array of floats regularly spaced in range [0,1], the number of floats is given by the style fill-color count.
An array of floats regularly spaced in range [0,1], the number of floats is given by the style fill-color count.
The style to use.
Generate a gradient in the given pixel area following the given style.
Generate a gradient in the given pixel area following the given style. This produces a gradient only if the style fill-mode is compatible.
The left corner of the area.
The bottom corner of the area.
The area width.
The area height.
The style.
A gradient paint or null if the style does not specify a gradient.
Generate a linear gradient between two given points corresponding to the given style.
Generate a linear gradient between two given points corresponding to the given style.
The start point abscissa.
The start point ordinate.
The end point abscissa.
The end point ordinate.
The style.
A paint for the gradient or null if the style specifies no gradient (the fill mode is not a linear gradient or there is only one fill colour).
Generate a radial gradient whose center is at (cx,cy) with the given radius.
Generate a radial gradient whose center is at (cx,cy) with the given radius. The focus (fx,fy) is the start position of the gradient in the circle.
The center point abscissa.
The center point ordinate.
The gradient radius.
The start point abscissa.
The start point ordinate.
The style.
A paint for the gradient or null if the style specifies no gradient (the fill mode is not a radial gradient or there is only one fill colour).
Use the ShapePaint class instead.