resolve
Description:
[ Version ( deprecated = true , deprecated_since = "3.8" , since = "3.0" ) ]
public bool resolve (StyleProperties? props, out RGBA resolved_color)
public bool resolve (StyleProperties? props, out RGBA resolved_color)
Warning: resolve is deprecated since 3.8.
If this is resolvable, resolved_color
will be filled in with the resolved color, and
true will be returned.
Note:
SymbolicColor 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
.
When props
is null, resolving of named colors will fail, so if your
this is or references such a color, this function will return false.
Parameters:
this | |
props |
StyleProperties to use when resolving named colors, or null |
resolved_color |
return location for the resolved color |
Returns:
true if the color has been resolved |