Scratch for Java

Diese Seite ist noch nicht übersetzt. Sie wird in ihrer Originalsprache angezeigt.

Drawing::polygon()

A filled polygon.

Examples

View on GitHub

Syntax

Java

.polygon(x, y, color)

Parameters

Name Data Type Description
x double[] x of every corner
y double[] y of every corner
color Color the fill

Return

void

polygon()

Teilbare URL erstellen

Abschnitte auswählen