resolve


Description:

[ 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.

Note:

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.

Parameters:

this

a Gradient

props

StyleProperties to use when resolving named colors

resolved_gradient

return location for the resolved pattern

Returns:

true if the gradient has been resolved