[ Version ( since = "3.0" ) ]
public bool resolve (StyleProperties props, out Pattern resolved_gradient)
If this is resolvable, resolved_gradient
will be filled in with the resolved gradient as a
cairo_pattern_t, and true will be returned.
Gradient is deprecated.
Generally, if this can’t be resolved, it is due to it being defined on top of a named color that
doesn't exist in props
.
this |
a Gradient |
props |
StyleProperties to use when resolving named colors |
resolved_gradient |
return location for the resolved pattern |
true if the gradient has been resolved |