Skip to content

Commit 366b9fa

Browse files
committed
add color_index property to docstring
1 parent 255fdf8 commit 366b9fa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

shared-bindings/vectorio/Circle.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
//| :param Union[~displayio.ColorConverter,~displayio.Palette] pixel_shader: The pixel shader that produces colors from values
1919
//| :param int radius: The radius of the circle in pixels
2020
//| :param int x: Initial x position of the axis.
21-
//| :param int y: Initial y position of the axis."""
21+
//| :param int y: Initial y position of the axis.
22+
//| :param int color_index: Initial color_index to use when selecting color from the palette."""
2223
//|
2324
static mp_obj_t vectorio_circle_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
2425
enum { ARG_pixel_shader, ARG_radius, ARG_x, ARG_y, ARG_color_index };

shared-bindings/vectorio/Polygon.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
//| shader that produces colors from values
2626
//| :param List[Tuple[int,int]] points: Vertices for the polygon
2727
//| :param int x: Initial screen x position of the 0,0 origin in the points list.
28-
//| :param int y: Initial screen y position of the 0,0 origin in the points list."""
28+
//| :param int y: Initial screen y position of the 0,0 origin in the points list.
29+
//| :param int color_index: Initial color_index to use when selecting color from the palette."""
2930
//|
3031
static mp_obj_t vectorio_polygon_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
3132
enum { ARG_pixel_shader, ARG_points_list, ARG_x, ARG_y, ARG_color_index };

0 commit comments

Comments
 (0)