php8.5
Home/ Manual/ imagick / imagickdraw/ ImagickDraw::pathEllipticArcAbsolute

ImagickDraw::pathEllipticArcAbsolute

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Draws an elliptical arc

Description

ImagickDraw::pathEllipticArcAbsolute(float $rx, float $ry, float $x_axis_rotation, bool $large_arc, bool $sweep, float $x, float $y): bool

Func

Draws an elliptical arc from the current point to (x, y) using absolute coordinates. The size and orientation of the ellipse are defined by two radii (rx, ry) and an xAxisRotation, which indicates how the ellipse as a whole is rotated relative to the current coordinate system. The center (cx, cy) of the ellipse is calculated automatically to satisfy the constraints imposed by the other parameters. largeArcFlag and sweepFlag contribute to the automatic calculations and help determine how the arc is drawn. If large_arc is true then draw the larger of the available arcs. If sweep is true, then draw the arc matching a clock-wise rotation.

Parameters

rx

x radius

ry

y radius

x_axis_rotation

x axis rotation

large_arc

large arc flag

sweep

sweep flag

x

x coordinate

y

y coordinate

Return Values

Void

Source: reference/imagick/imagickdraw/pathellipticarcabsolute.xml · from the official PHP manual (php/doc-en)