You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/Arduino_H7_Video/docs/api.md
+10-1
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,12 @@ The main class for managing the video controller and the display.
16
16
|`public void`[`end`](#public-void-end)| De-initialize the video controller and display. |
17
17
|`public int`[`width`](#public-int-width)| Get the width of the display. |
18
18
|`public int`[`height`](#public-int-height)| Get the height of the display. |
19
+
|`public bool`[`isRotated`](#public-bool-isrotated)| Check if the display is rotated. |
19
20
|`public void`[`clear`](#public-void-clear)| Clear the display. |
20
21
|`public void`[`beginDraw`](#public-void-begindraw)| Begin drawing operations on the display. |
21
22
|`public void`[`endDraw`](#public-void-enddraw)| End drawing operations on the display. |
22
23
|`public void`[`set`](#public-void-setint-x-int-y-uint8_t-r-uint8_t-g-uint8_t-b)| Set the color of the pixel at the specified coordinates. |
23
24
24
-
25
25
> *Note: For all drawing functions, refer to the documentation of the [`ArduinoGraphics`](https://reference.arduino.cc/reference/en/libraries/arduinographics/) library.*
26
26
27
27
## Members
@@ -72,6 +72,15 @@ Get the height of the display.
72
72
73
73
---
74
74
75
+
### `public bool`[`isRotated`](#)`()`
76
+
77
+
Check if the display is rotated.
78
+
79
+
#### Returns
80
+
`bool`: True if the display is rotated, false otherwise.
0 commit comments