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

    (PECL haru >= 0.0.1)

    Append an ellipse to the current path

    说明

    HaruPage::ellipse(float $x,float $y,float $xray,float $yray): bool

    Appends an ellipse to the current path.

    参数

    $x

    Horizontal coordinate of the center.

    $y

    Vertical coordinate of the center.

    $xray

    The ray of the ellipse in the x direction.

    $yray

    The ray of the ellipse in the y direction.

    返回值

    Returns TRUE on success.

    错误/异常

    发生错误时抛出HaruException异常。