Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

shapes are not filled #1

Open
codeanticode opened this issue Jul 21, 2018 · 0 comments
Open

shapes are not filled #1

codeanticode opened this issue Jul 21, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@codeanticode
Copy link
Owner

The following code:

    fill(color(255, 0, 0));
    strokeWeight(7);
    strokeCap(PConstants.ROUND);
    beginShape();
    vertex(0, 0);
    vertex(100, 0);
    vertex(100, 100);
    vertex(50, 100);
    vertex(50, 150);
    vertex(20, 150);
    vertex(20, 100);
    vertex(0, 100);
    endShape(PConstants.CLOSE);

Results only in an outline, there is center red spine along the stroke, so it seems that the fill paint in the is interpreted in the way one would expect.

@codeanticode codeanticode added the bug Something isn't working label Jul 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant