pub trait ReversibleRanged: Ranged {
fn unmap(&self, input: i32, limit: (i32, i32)) -> Option<Self::ValueType>;
}
Expand description
The trait indicates the ranged value can be map reversely, which means an pixel-based coordinate is given, it’s possible to figure out the underlying logic value.