MCPcopy Create free account
hub / github.com/DioxusLabs/anyrender / hue_rotate

Method hue_rotate

crates/anyrender/src/filters.rs:486–488  ·  view source on GitHub ↗

Construct a CSS hue-rotate() filter effect

(angle_radians: f32)

Source from the content-addressed store, hash-verified

484
485 /// Construct a CSS hue-rotate() filter effect
486 pub fn hue_rotate(angle_radians: f32) -> Self {
487 Self::ColorMatrix(ColorMatrix::hue_rotate(angle_radians))
488 }
489
490 /// Construct a CSS saturate() filter effect
491 pub fn saturate(amount: f32) -> Self {

Callers

nothing calls this directly

Calls 1

ColorMatrixClass · 0.85

Tested by

no test coverage detected