mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
[display] filled_ring and filled_gauge methods added (#7420)
This commit is contained in:
committed by
GitHub
parent
fb002ac3b0
commit
3ef31e55ca
@@ -34,3 +34,7 @@ display:
|
||||
|
||||
it.line_at_angle(centerX, centerY, minuteAngle, radius - 5, radius);
|
||||
}
|
||||
|
||||
// Nice ring around and some gauge
|
||||
it.filled_ring(centerX, centerY, radius+5, radius+8);
|
||||
it.filled_gauge(centerX, centerY, radius/2, radius/2-5, 66);
|
||||
|
Reference in New Issue
Block a user