TCPDF::Circle( $x0, $y0, $r, $angstr, $angend = 360, $style = '', $line_style = array(), $fill_color = array(), $nc = 2 )
Draws a circle.
Description Description
A circle is formed from n Bezier curves.
Parameters Parameters
- $x0
-
(Required) (float) Abscissa of center point.
- $y0
-
(Required) (float) Ordinate of center point.
- $r
-
(Required) (float) Radius.
- $angstr:
-
(Required) (float) Angle start of draw line. Default value: 0.
- $angend:
-
(Required) (float) Angle finish of draw line. Default value: 360.
- $style
-
(Optional) (string) Style of rendering. See the getPathPaintOperator() function for more information.
Default value: ''
- $line_style
-
(Optional) (array) Line style of circle. Array like for SetLineStyle(). Default value: default line style (empty array).
Default value: array()
- $fill_color
-
(Optional) (array) Fill color. Format: array(red, green, blue). Default value: default color (empty array).
Default value: array()
- $nc
-
(Optional) (integer) Number of curves used to draw a 90 degrees portion of circle.
Default value: 2
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
2.1.000 | Introduced. |