Presto Vector shape filled

Hi there,

i am playing around with my new Presto.

When using the vector engine: circles, reguler, star, rectangle can be drawed filled or just bordered. Only the “path” is always filled… Is this a bug or a feature?!

Wishes from Germany,
Rallo

Hi,

You can pass in the stroke argument to draw just the borders.

For example a box with slightly rounded corners and 2 pixel border:

Polygon().rectangle(20, 20, 20, 20, (4, 4, 4, 4), stroke=2)

Should work with circle and other shapes too.

Hi,

yes, you are right.

I can draw vector polygons like rectangle, circles, regular, arc and star in a bordered look, when i use “stroke=nnn”. Unfortunately there seems to be no possibility to create a custom polygon with multiple path() and “stroke=nnn”. I am searching for a way to draw polygons like this:

So i need to build an own function, which draws lines with display.line()?

Greetings from Muenster,

Ralf