TCPDF::PieSector( $xc, $yc, $r, $a, $b, $style = 'FD', $cw = true, $o = 90 )
Draw the sector of a circle.
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.
- $r
-
(Required) (float) 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 (default: true).
- $o:
-
(Required) (float) origin of angles (0 for 3 o'clock, 90 for noon, 180 for 9 o'clock, 270 for 6 o'clock). Default: 90.
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
3.1.000 | Introduced. |