fromValue static method
Implementation
static resvg_shape_rendering fromValue(int value) => switch (value) {
0 => RESVG_SHAPE_RENDERING_OPTIMIZE_SPEED,
1 => RESVG_SHAPE_RENDERING_CRISP_EDGES,
2 => RESVG_SHAPE_RENDERING_GEOMETRIC_PRECISION,
_ => throw ArgumentError(
"Unknown value for resvg_shape_rendering: $value"),
};