File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 34
34
from adafruit_pyportal .graphics import Graphics
35
35
from adafruit_pyportal .peripherals import Peripherals
36
36
37
- if hasattr (board , "TOUCH_XL" ):
38
- import adafruit_touchscreen
39
- elif hasattr (board , "BUTTON_CLOCK" ):
40
- from adafruit_cursorcontrol .cursorcontrol import Cursor
41
- from adafruit_cursorcontrol .cursorcontrol_cursormanager import CursorManager
42
-
43
37
__version__ = "0.0.0-auto.0"
44
38
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_PyPortal.git"
45
39
Original file line number Diff line number Diff line change @@ -56,6 +56,18 @@ class Network(NetworkBase):
56
56
:param bool extract_values: If true, single-length fetched values are automatically extracted
57
57
from lists and tuples. Defaults to ``True``.
58
58
:param debug: Turn on debug print outs. Defaults to False.
59
+ :param convert_image: Determine whether or not to use the AdafruitIO image converter service.
60
+ Set as False if your image is already resized. Defaults to True.
61
+ :param image_url_path: The HTTP traversal path for a background image to display.
62
+ Defaults to ``None``.
63
+ :param image_json_path: The JSON traversal path for a background image to display. Defaults to
64
+ ``None``.
65
+ :param image_resize: What size to resize the image we got from the json_path, make this a tuple
66
+ of the width and height you want. Defaults to ``None``.
67
+ :param image_position: The position of the image on the display as an (x, y) tuple. Defaults to
68
+ ``None``.
69
+ :param image_dim_json_path: The JSON traversal path for the original dimensions of image tuple.
70
+ Used with fetch(). Defaults to ``None``.
59
71
60
72
"""
61
73
You can’t perform that action at this time.
0 commit comments