Skip to content

Incorrect documentation for rectangle() #533

Closed

Description

@ndward

4.14.61-ev3dev-2.2.2-ev3
ii python3-ev3dev 1.2.0 all Python language bindings for ev3d
ii python3-ev3dev 2.0.0~beta2 all Python language bindings for ev3d

At this location:
https://python-ev3dev.readthedocs.io/en/ev3dev-stretch/other.html#ev3dev2.display.Display.rectangle
the description

rectangle(clear_screen=True, x=10, y=10, width=80, height=40, fill_color='black', outline_color='black')

does not properly describe the function. It behaves like

rectangle(clear_screen=True, x1=10, y1=10, x2=80, y2=40, fill_color='black', outline_color='black')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions