add different style to rotate90 in example
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(),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue