Scratch for Java

Polygon::addPoint()

Adds a corner after the last one.

Examples

View on GitHub

Syntax

Java

.addPoint(x, y)

Parameters

Name Data Type Description
x double x of the corner
y double y of the corner

Return

void

addPoint()

Create Shareable URL

Select Sections