Point 点信息
1. 结构声明
- TS Declaration
- JSON Schema
class Point extends BaseNode {
x: number;
y: number;
}
{
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
}
},
"required": [
"x",
"y"
],
"additionalProperties": false
}