TCPDF::Polycurve( $x0, $y0, $segments, $style = '', $line_style = array(), $fill_color = array() )
Draws a poly-Bezier curve.
Description Description
Each Bezier curve segment 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.
- $segments
-
(Required) (float) An array of bezier descriptions. Format: array(x1, y1, x2, y2, x3, y3).
- $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 |
---|---|
3.0008 | Introduced. |