add different style to rotate90 in example

This commit is contained in:
Chris
2018-10-18 22:06:47 +02:00
parent a68ddb673a
commit 4ff373f512
@@ -222,6 +222,8 @@ fn run() -> Result<(), std::io::Error> {
display.set_rotation(DisplayRotation::Rotate90); display.set_rotation(DisplayRotation::Rotate90);
display.draw( display.draw(
Font6x8::render_str("Rotate 90!") Font6x8::render_str("Rotate 90!")
.with_stroke(Some(Color::Black))
.with_fill(Some(Color::White))
.translate(Coord::new(5, 50)) .translate(Coord::new(5, 50))
.into_iter(), .into_iter(),
); );