Scratch for Java

MapObject()

Browser availability: desktop-only.

This API requires the desktop runtime. Browser declarations may report the limitation without performing the operation.

Represents a map object with various properties such as dimensions, position, visibility, and type. It also provides methods to retrieve property values in different formats and to get a Shape representation of the map object.

Syntax

Java

new MapObject()
MapObject()

Create Shareable URL

Select Sections