Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Drawable
✓ use embedded_graphics::prelude::*;
Draw a circle on a mock display
use embedded_graphics::{
pixelcolor::BinaryColor,
prelude::*,
primitives::{Circle, PrimitiveStyle},
mock_display::MockDisplay,
};
fn main() {
let mut display: MockDisplay<BinaryColor> = MockDisplay::new();
let circle = Circle::new(Point::new(10, 10), 20)
.into_styled(PrimitiveStyle::with_stroke(BinaryColor::On, 1));
circle.draw(&mut display).unwrap();
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.