How to use graphic.draw_filled_polygon?
|
11-28-2021, 10:25 PM
Post: #8
|
|||
|
|||
RE: How to use graphic.draw_filled_polygon?
with the last update 2021-11-25 it's now working on the G2 too.
<draw_filled_polygon()> obviously needs two parameters. one list of the co-ordinates an one color. E.g: from graphic import * draw_filled_polygon(((0,0),(160,120),(0,240)),blue) instead of making it all <tuple> seems we can mix <list> and <tuple>. This works also: draw_filled_polygon([(0,0),(160,120),(0,240)],blue) or even a mix(ugly): draw_filled_polygon([[0,0],(160,120),(0,240)],blue) Günter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How to use graphic.draw_filled_polygon? - jfelten - 08-23-2021, 08:09 PM
RE: How to use graphic.draw_filled_polygon? - pol95 - 08-26-2021, 02:23 AM
RE: How to use graphic.draw_filled_polygon? - jfelten - 08-26-2021, 02:50 AM
RE: How to use graphic.draw_filled_polygon? - albud44 - 08-31-2021, 08:01 PM
RE: How to use graphic.draw_filled_polygon? - jfelten - 09-04-2021, 07:43 PM
RE: How to use graphic.draw_filled_polygon? - Guenter Schink - 09-04-2021, 08:53 PM
RE: How to use graphic.draw_filled_polygon? - StephenG1CMZ - 11-29-2021, 12:42 AM
RE: How to use graphic.draw_filled_polygon? - Guenter Schink - 11-29-2021, 10:04 AM
RE: How to use graphic.draw_filled_polygon? - toml_12953 - 11-29-2021, 02:22 PM
RE: How to use graphic.draw_filled_polygon? - Guenter Schink - 11-29-2021, 08:40 PM
RE: How to use graphic.draw_filled_polygon? - jfelten - 09-04-2021, 11:10 PM
RE: How to use graphic.draw_filled_polygon? - Guenter Schink - 11-28-2021 10:25 PM
|
User(s) browsing this thread: 1 Guest(s)