Browse Source

add different style to rotate90 in example

embedded-hal-1.0
Chris 7 years ago
parent
commit
4ff373f512
  1. 2
      examples/embedded_linux_epd4in2/src/main.rs

2
examples/embedded_linux_epd4in2/src/main.rs

@ -222,6 +222,8 @@ fn run() -> Result<(), std::io::Error> {
display.set_rotation(DisplayRotation::Rotate90);
display.draw(
Font6x8::render_str("Rotate 90!")
.with_stroke(Some(Color::Black))
.with_fill(Some(Color::White))
.translate(Coord::new(5, 50))
.into_iter(),
);

Loading…
Cancel
Save