TCPDF::Curve( $x0, $y0, $x1, $y1, $x2, $y2, $x3, $y3, $style = '', $line_style = array(), $fill_color = array() )
Draws a Bezier curve.
Description Description
The Bezier curve is a tangent to the line between the control points at either end of the curve.
See also See also
Parameters Parameters
- $x0
-
(Required) (float) Abscissa of start point.
- $y0
-
(Required) (float) Ordinate of start point.
- $x1
-
(Required) (float) Abscissa of control point 1.
- $y1
-
(Required) (float) Ordinate of control point 1.
- $x2
-
(Required) (float) Abscissa of control point 2.
- $y2
-
(Required) (float) Ordinate of control point 2.
- $x3
-
(Required) (float) Abscissa of end point.
- $y3
-
(Required) (float) Ordinate of end point.
- $style
-
(Optional) (string) Style of rendering. See the getPathPaintOperator() function for more information.
Default value: ''
- $line_style
-
(Optional) (array) Line style of curve. 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()
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
2.1.000 | Introduced. |