mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-27 17:37:45 +01:00
Added radius which is necessary for it.filled_circle command (#773)
This commit is contained in:
parent
86c6a944ac
commit
0d8df9652a
@ -118,7 +118,7 @@ Additionally, you have access to two helper methods which will fetch the width a
|
|||||||
# ...
|
# ...
|
||||||
lambda: |-
|
lambda: |-
|
||||||
// Draw a circle in the middle of the display
|
// Draw a circle in the middle of the display
|
||||||
it.filled_circle(it.get_width() / 2, it.get_height() / 2);
|
it.filled_circle(it.get_width() / 2, it.get_height() / 2, 20);
|
||||||
|
|
||||||
|
|
||||||
You can view the full API documentation for the rendering engine in the "API Reference" in the See Also section.
|
You can view the full API documentation for the rendering engine in the "API Reference" in the See Also section.
|
||||||
|
Loading…
Reference in New Issue
Block a user