TCPDF::PieSectorXY( $xc,  $yc,  $rx,  $ry,  $a,  $b,  $style = 'FD',  $cw = false,  $o,  $nc = 2 )

Draw the sector of an ellipse.


Description Description

It can be used for instance to render pie charts.


Parameters Parameters

$xc

(Required) (float) abscissa of the center.

$yc

(Required) (float) ordinate of the center.

$rx

(Required) (float) the x-axis radius.

$ry

(Required) (float) the y-axis radius.

$a

(Required) (float) start angle (in degrees).

$b

(Required) (float) end angle (in degrees).

$style

(Optional) (string) Style of rendering. See the getPathPaintOperator() function for more information.

Default value: 'FD'

$cw:

(Required) (float) indicates whether to go clockwise.

$o:

(Required) (float) origin of angles (0 for 3 o'clock, 90 for noon, 180 for 9 o'clock, 270 for 6 o'clock).

$nc

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

Default value: 2


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.000 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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