$point1
$point1 : array
Starting point.
Class QuadraticBezier
$color : \Grafika\Color
Color of curve.
__construct(array $point1, array $control, array $point2, \Grafika\Color|string $color = '#000000')
Creates a quadratic bezier. Quadratic bezier has 1 control point.
array | $point1 | Array of X and Y value for start point. |
array | $control | Array of X and Y value for control point. |
array | $point2 | Array of X and Y value for end point. |
\Grafika\Color|string | $color | Color of the curve. Accepts hex string or a Color object. Defaults to black. |
getColor() : \Grafika\Color
draw(\Grafika\ImageInterface $image) : \Grafika\Imagick\Image
\Grafika\ImageInterface | $image |