PHP 8.4.0 RC4 available for testing

ImagickDraw::pathEllipticArcRelative

(PECL imagick 2, PECL imagick 3)

ImagickDraw::pathEllipticArcRelativeDraws an elliptical arc

说明

public ImagickDraw::pathEllipticArcRelative(
    float $rx,
    float $ry,
    float $x_axis_rotation,
    bool $large_arc_flag,
    bool $sweep_flag,
    float $x,
    float $y
): bool
警告

本函数还未编写文档,仅有参数列表。

Draws an elliptical arc from the current point to (x, y) using relative 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_flag is true then draw the larger of the available arcs. If sweep_flag is true, then draw the arc matching a clock-wise rotation.

参数

rx

x radius

ry

y radius

x_axis_rotation

x axis rotation

large_arc_flag

large arc flag

sweep_flag

sweep flag

x

x coordinate

y

y coordinate

返回值

没有返回值。

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top