TCPDF::_outellipticalarc( $xc,  $yc,  $rx,  $ry,  $xang,  $angs,  $angf = 360,  $pie = false,  $nc = 2,  $startpoint = true,  $ccw = true,  $svg = false )

Append an elliptical arc to the current path.


Description Description

An ellipse is formed from n Bezier curves.


Parameters Parameters

$xc

(Required) (float) Abscissa of center point.

$yc

(Required) (float) Ordinate of center point.

$rx

(Required) (float) Horizontal radius.

$ry

(Required) (float) Vertical radius (if ry = 0 then is a circle, see Circle()). Default value: 0.

$xang:

(Required) (float) Angle between the X-axis and the major axis of the ellipse. Default value: 0.

$angs:

(Required) (float) Angle start of draw line. Default value: 0.

$angf:

(Required) (float) Angle finish of draw line. Default value: 360.

$pie

(Optional) (boolean) if true do not mark the border point (used to draw pie sectors).

Default value: false

$nc

(Optional) (integer) Number of curves used to draw a 90 degrees portion of ellipse.

Default value: 2

$startpoint

(Optional) (boolean) if true output a starting point.

Default value: true

$ccw

(Optional) (boolean) if true draws in counter-clockwise.

Default value: true

$svg

(Optional) (boolean) if true the angles are in svg mode (already calculated).

Default value: false


Top ↑

Return Return

(array) bounding box coordinates (x min, y min, x max, y max)


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.9.019 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.