Home > PHP > Function > > HaruPage::circle()

HaruPage::circle()

HaruPage::circle - Append a circle to the current path

Syntax

bool HaruPage::circle (float $x, float $y, float $ray)

Arguments

  • x - Horizontal coordinate of the center point.
  • y - Vertical coordinate of the center point.
  • ray - The ray of the circle.

Description

Appends a circle to the current path.

Version

PHP PECL haru >= 0.0.1

Return value

Returns TRUE on success.