File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ class Circle(RoundRect):
39
39
:param int x0: The x-position of the center.
40
40
:param int y0: The y-position of the center.
41
41
:param int r: The radius of the circle.
42
- :param int fill: (Optional) The color to fill the circle. Can be a hex value for a color or
42
+ :param int|None fill: The color to fill the circle. Can be a hex value for a color or
43
43
``None`` for transparent.
44
- :param int outline: (Optional) The outline of the circle. Can be a hex value for a color or
44
+ :param int|None outline: The outline of the circle. Can be a hex value for a color or
45
45
``None`` for no outline.
46
46
:param int stroke: Used for the outline. Will not change the radius.
47
47
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class Polygon(displayio.TileGrid):
37
37
"""A polygon.
38
38
39
39
:param list points: A list of (x, y) tuples of the points
40
- :param int outline: (Optional) The outline of the polygon. Can be a hex value for a color or
40
+ :param int|None outline: The outline of the polygon. Can be a hex value for a color or
41
41
``None`` for no outline.
42
42
"""
43
43
Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ class Rect(displayio.TileGrid):
39
39
:param int y: The y-position of the top left corner.
40
40
:param int width: The width of the rectangle.
41
41
:param int height: The height of the rectangle.
42
- :param int fill: (Optional) The color to fill the rectangle. Can be a hex value for a color or
42
+ :param int|None fill: The color to fill the rectangle. Can be a hex value for a color or
43
43
``None`` for transparent.
44
- :param int outline: (Optional) The outline of the rectangle. Can be a hex value for a color or
44
+ :param int|None outline: The outline of the rectangle. Can be a hex value for a color or
45
45
``None`` for no outline.
46
46
:param int stroke: Used for the outline. Will not change the outer bound size set by ``width``
47
47
and ``height``.
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ class RoundRect(displayio.TileGrid):
31
31
:param int width: The width of the rounded-corner rectangle.
32
32
:param int height: The height of the rounded-corner rectangle.
33
33
:param int r: The radius of the rounded corner.
34
- :param int fill: (Optional) The color to fill the rounded-corner rectangle. Can be a hex value
34
+ :param int|None fill: The color to fill the rounded-corner rectangle. Can be a hex value
35
35
for a color or ``None`` for transparent.
36
- :param int outline: (Optional) The outline of the rounded-corner rectangle. Can be a hex value
36
+ :param int|None outline: The outline of the rounded-corner rectangle. Can be a hex value
37
37
for a color or ``None`` for no outline.
38
38
:param int stroke: Used for the outline. Will not change the outer bound size set by ``width``
39
39
and ``height``.
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ class Sparkline(displayio.Group):
55
55
:param int height: Height of the sparkline graph in pixels
56
56
:param int max_items: Maximum number of values housed in the sparkline
57
57
:param bool dyn_xpitch: (Optional) Dynamically change xpitch (True)
58
- :param int y_min: (Optional) Lower range for the y-axis. Set to None for autorange.
59
- :param int y_max: (Optional) Upper range for the y-axis. Set to None for autorange.
58
+ :param int|None y_min: Lower range for the y-axis. Set to None for autorange.
59
+ :param int|None y_max: Upper range for the y-axis. Set to None for autorange.
60
60
:param int x: X-position on the screen, in pixels
61
61
:param int y: Y-position on the screen, in pixels
62
62
:param int color: Line color, the default value is 0xFFFFFF (WHITE)
Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ class Triangle(Polygon):
42
42
:param int y1: The y-position of the second vertex.
43
43
:param int x2: The x-position of the third vertex.
44
44
:param int y2: The y-position of the third vertex.
45
- :param int fill: (Optional) The color to fill the triangle. Can be a hex value for a color or
45
+ :param int|None fill: The color to fill the triangle. Can be a hex value for a color or
46
46
``None`` for transparent.
47
- :param int outline: (Optional) The outline of the triangle. Can be a hex value for a color or
47
+ :param int|None outline: The outline of the triangle. Can be a hex value for a color or
48
48
``None`` for no outline.
49
49
"""
50
50
# pylint: disable=too-many-locals
You can’t perform that action at this time.
0 commit comments