Pattern.getRadialCircles

Gets the gradient endpoint circles for a radial gradient, each specified as a center coordinate and a radius.

class Pattern
getRadialCircles
(
out double x0
,
out double y0
,
out double r0
,
out double x1
,
out double y1
,
out double r1
)

Parameters

x0 double

return value for the x coordinate of the center of the first circle, or null

y0 double

return value for the y coordinate of the center of the first circle, or null

r0 double

return value for the radius of the first circle, or null

x1 double

return value for the x coordinate of the center of the second circle, or null

y1 double

return value for the y coordinate of the center of the second circle, or null

r1 double

return value for the radius of the second circle, or null

Return Value

Type: cairo.types.Status

cairo.types.Status.Success, or cairo.types.Status.PatternTypeMismatch if pattern is not a radial gradient pattern.