php8.5
Home/ Manual/ gmagick / gmagickdraw/ GmagickDraw::arc

GmagickDraw::arc

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Draws an arc

Description

GmagickDraw::arc(float $sx, float $sy, float $ex, float $ey, float $sd, float $ed): GmagickDraw

Draws an arc falling within a specified bounding rectangle on the image.

Parameters

sx

starting x ordinate of bounding rectangle

sy

starting y ordinate of bounding rectangle

ex

ending x ordinate of bounding rectangle

ey

ending y ordinate of bounding rectangle

sd

starting degrees of rotation

ed

ending degrees of rotation

Return Values

The GmagickDraw object.

Source: reference/gmagick/gmagickdraw/arc.xml · from the official PHP manual (php/doc-en)