mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
v0.4.3
This commit is contained in:
@@ -265,6 +265,11 @@ impl BitMatrix {
|
||||
(self.get_offset(y, x)) >= self.bits.len()
|
||||
}
|
||||
|
||||
/// Confusingly returns true if the requested element is out of bounds
|
||||
pub fn check_point_in_bounds(&self, point: Point) -> bool {
|
||||
self.check_in_bounds(point.x as u32, point.y as u32)
|
||||
}
|
||||
|
||||
/**
|
||||
* <p>Sets the given bit to true.</p>
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user