Method
centerPoint
* centerPoint * Returns the [x,y] pixel at the center of the viewport * @return Array [x,y] pixel at the center of the viewport
()
Source from the content-addressed store, hash-verified
| 480 | * @return Array [x,y] pixel at the center of the viewport |
| 481 | */ |
| 482 | centerPoint() { |
| 483 | return this.context.viewport.center(); |
| 484 | } |
| 485 | |
| 486 | |
| 487 | /** |
Tested by
no test coverage detected