Scratch for Java

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

Shape::rotate()

Turns the shape about a point, from the x axis towards the y axis (anticlockwise when y points up).

Examples

View on GitHub

Syntax

Java

.rotate(degrees, anchorX, anchorY)

Parameters

Name Data Type Description
degrees double the angle
anchorX double x of the point to turn about
anchorY double y of the point to turn about

Return

Shape

rotate()

Teilbare URL erstellen

Abschnitte auswählen