Scratch for Java

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

Drawing::clip()

Draws only inside a rectangle until noClip(); a turned sprite clips to the rectangle around the turned one.

Examples

View on GitHub

Syntax

Java

.clip(x, y, width, height)

Parameters

Name Data Type Description
x double x of its centre
y double y of its centre
width double its width
height double its height

Return

void

clip()

Teilbare URL erstellen

Abschnitte auswählen