Scratch for Java

Property()

Browser availability: desktop-only.

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

The Property class represents a property of a Tiled object. It includes fields for the property name, type, and value.

Example usage:

Property p = new Property();
p.name = "myProperty";
p.type = "number";
p.value = "42";

Syntax

Java

new Property()
Property()

Create Shareable URL

Select Sections