mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
embedded-graphics 0.5.0 removed the with_ prefix from some methods
with_stroke() to stroke() with_fill() to fill() with_style() to style()
This commit is contained in:
+2
-2
@@ -21,8 +21,8 @@
|
||||
//! // Write some hello world in the screenbuffer
|
||||
//! display.draw(
|
||||
//! Font6x8::render_str("Hello World!")
|
||||
//! .with_stroke(Some(Color::Black))
|
||||
//! .with_fill(Some(Color::White))
|
||||
//! .stroke(Some(Color::Black))
|
||||
//! .fill(Some(Color::White))
|
||||
//! .translate(Coord::new(5, 50))
|
||||
//! .into_iter(),
|
||||
//! );
|
||||
|
||||
Reference in New Issue
Block a user