Trait embedded_graphics::primitives::ContainsPoint[][src]

pub trait ContainsPoint {
    fn contains(&self, point: Point) -> bool;
}
Expand description

Trait to check if a point is inside a closed shape.

Required methods

Returns true if the given point is inside the shape.

Implementors