Scratch for Java

Polygon()

A polygon given by its corners, concave ones included. The outline closes by itself.

Syntax

Java

new Polygon()
new Polygon(xPoints, yPoints)
Polygon()

Create Shareable URL

Select Sections