appearance

Static validation of appearance values at their expected property boundary.

Functions

validate_appearance

pub fn validate_appearance(value: &ValueDefinition, stroke: bool) -> Result<(), String>

Checks the statically known parts of a fill/stroke stack. Dynamic bindings are checked by the same layer coercions when their values become available.