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

    (PECL haru >= 0.0.1)

    Set starting point for new drawing path

    说明

    HaruPage::moveTo(float $x,float $y): bool

    Defines starting point for new drawing path.

    参数

    $x

    A new starting point coordinate.

    $y

    A new starting point coordinate.

    返回值

    Returns TRUE on success.

    错误/异常

    发生错误时抛出HaruException异常。