• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • HaruPage::getCurrentPos()

    (PECL haru >= 0.0.1)

    Get the current position for path painting

    说明

    HaruPage::getCurrentPos(void): array

    Get the current position for path painting.

    参数

    此函数没有参数。

    返回值

    Returns the current position for path painting as an array of with two elements -"x" and "y".

    错误/异常

    发生错误时抛出HaruException异常。