Pattern.getRadialCircles

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

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

CAIRO_STATUS_SUCCESS, or CAIRO_STATUS_PATTERN_TYPE_MISMATCH if pattern is not a radial gradient pattern.