Function build_params

Source
pub fn build_params(
    algorithms: &[JsValue],
) -> Result<Vec<(BlendAlgorithm, Option<BlendAlgorithmParams>)>, PConvertError>
Expand description

Attempts to build a vector of blending operations and extra parameters. One pair per blending operation. Returns a PConvertError if it fails parsing.