(object)
| 69082 | return this.check(); |
| 69083 | } |
| 69084 | fromObject(object) { |
| 69085 | if ((0, _common.config).debug) { |
| 69086 | (0, _validators.checkNumber)(object.x); |
| 69087 | (0, _validators.checkNumber)(object.y); |
| 69088 | } |
| 69089 | this[0] = object.x; |
| 69090 | this[1] = object.y; |
| 69091 | return this.check(); |
| 69092 | } |
| 69093 | toObject(object) { |
| 69094 | object.x = this[0]; |
| 69095 | object.y = this[1]; |