A point represents an integer coordinate or size, usually measured in pixels or tiles. This is formatted as an object with an X/Y position. For example:
+
<syntaxhighlight lang="js">
+
"Position": {
+
"X": 0,
+
"Y": 0
+
}
+
</syntaxhighlight>
+
+
===Rectangle===
+
A rectangle represents a square area, usually measured in pixels or tiles. This is formatted as an object with an X/Y position (for the top-left corner) and width/height size, where all values are integers. For example:
+
<syntaxhighlight lang="js">
+
"Rectangle": {
+
"X": 0,
+
"Y": 0,
+
"Width": 16,
+
"Height": 32
+
}
+
</syntaxhighlight>
+
+
===Vector2===
+
A Vector2 represents a non-integer coordinate or size, usually measured in pixels or tiles. This is formatted as an object with an X/Y position. For example: