TCPDF::Ellipse( $x0, $y0, $rx, $ry = '', $angle, $astart, $afinish = 360, $style = '', $line_style = array(), $fill_color = array(), $nc = 2 )
Draws an ellipse.
Description Description
An ellipse is formed from n Bezier curves.
Parameters Parameters
- $x0
-
(Required) (float) Abscissa of center point.
- $y0
-
(Required) (float) Ordinate of center point.
- $rx
-
(Required) (float) Horizontal radius.
- $ry
-
(Optional) (float) Vertical radius (if ry = 0 then is a circle, see Circle()). Default value: 0.
Default value: ''
- $angle:
-
(Required) (float) Angle oriented (anti-clockwise). Default value: 0.
- $astart:
-
(Required) (float) Angle start of draw line. Default value: 0.
- $afinish:
-
(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 ellipse. Array like for SetLineStyle(). Default value: default line style (empty array).
Default value: array()
- $fill_color
-
(Optional) (array) Fill color. Format: array(GREY) or array(R,G,B) or array(C,M,Y,K) or array(C,M,Y,K,SpotColorName). Default value: default color (empty array).
Default value: array()
- $nc
-
(Optional) (integer) Number of curves used to draw a 90 degrees portion of ellipse.
Default value: 2
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
2.1.000 | Introduced. |