Post Reply 
How to use graphic.draw_filled_polygon?
08-26-2021, 02:23 AM (This post was last modified: 08-26-2021 11:43 AM by Gene.)
Post: #2
RE: How to use graphic.draw_filled_polygon?
(08-23-2021 08:09 PM)jfelten Wrote:  Whenever I try to run a command like
Code:
>from graphic import *
>draw_filled_polygon([[0,0,0], [0,240,0], [160, 120, 0]], 0)
it just draws nothing and prints "False" to the console. Any other form on syntax either gives me an error or crashes the calculator. I could not find any documentation for this module, so I have no idea how the command works.
Lo leĆ­ en TI planet y funciona.


MODERATOR NOTE: English please in the forums. Google translation: "I read it on TI planet and it works."


Code:
>from graphic import *
>draw_filled_polygon([[0,0], [0,240], [160, 120]], magenta)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to use graphic.draw_filled_polygon? - pol95 - 08-26-2021 02:23 AM



User(s) browsing this thread: 1 Guest(s)