//! How a blur reads past the edge of its source.
/// Edge treatment for blur effects at the boundary of the blurred region.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
pub enum TileMode {
/// Clamp to the edge pixel color.
#[default]
Clamp,
/// Repeat the gradient/effect from start to end.
Repeated,
/// Mirror the gradient/effect every other repetition.
Mirror,
/// Treat pixels outside the boundary as transparent.
Decal,
}